~bradclawsie/easysecurity

1cf319339ba39ed2291ac95bec9323077b3ecdd3 — Brad Clawsie 1 year, 12 days ago 889c9ee 0.1.8
fix docs, actually save mod.ts changes
2 files changed, 5 insertions(+), 5 deletions(-)

M README.md
M mod.ts
M README.md => README.md +1 -1
@@ 54,7 54,7 @@ const iv = IV.fromString("user@example.com");
const crypter = await new Crypter(key, iv);

// or you want to create Key and IV instances directly from
hex - exports;
// hex - exports;
const key = await Key.fromHex(hexKey);
const iv = IV.fromHex(hexIV);


M mod.ts => mod.ts +4 -4
@@ 1,15 1,15 @@
import { crypto } from "https://deno.land/std@0.182.0/crypto/crypto.ts";
import { toHashString } from "https://deno.land/std@0.182.0/crypto/to_hash_string.ts";
import { crypto } from "https://deno.land/std@0.200.0/crypto/crypto.ts";
import { toHashString } from "https://deno.land/std@0.200.0/crypto/to_hash_string.ts";
import {
  assertEquals,
  assertNotEquals,
} from "https://deno.land/std@0.182.0/testing/asserts.ts";
} from "https://deno.land/std@0.200.0/assert/mod.ts";
import {
  bytesToHex,
  bytesToString,
  hexToBytes,
  stringToBytes,
} from "https://deno.land/x/textras@0.1.5/mod.ts";
} from "https://deno.land/x/textras@0.1.7/mod.ts";

/**
 * produce the hex-encoded string of the sha256 hash of string s