add generate key

This commit is contained in:
2023-01-13 20:42:36 +01:00
parent f2f8607c39
commit d1b07e0a81
6 changed files with 244 additions and 129 deletions

View File

@@ -11,8 +11,11 @@ export const Precomputed = {
'hello world': '68656c6c6f20776f726c64',
},
Bytes: {
test: [0x74, 0x65, 0x73, 0x74],
occulto: [0x6f, 0x63, 0x63, 0x75, 0x6c, 0x74, 0x6f],
test: new Uint8Array([0x74, 0x65, 0x73, 0x74]),
occulto: new Uint8Array([0x6f, 0x63, 0x63, 0x75, 0x6c, 0x74, 0x6f]),
'entropy is king': new Uint8Array([
0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x20, 0x69, 0x73, 0x20, 0x6b, 0x69, 0x6e, 0x67,
]),
},
},
Hash: {