-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
086eb5e
commit 064be17
Showing
3 changed files
with
160 additions
and
52 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
packages/core/src/secret/__tests__/__snapshots__/secret-aes256.test.ts.snap.web
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AES256 Encryption Tests encodePassword/decodePassword should encode and decode password with snapshot: encodePassword 1`] = `"SENSITIVE_ENCODE::AE7EADC1-CDA0-45FA-A340-E93BEDDEA21E::94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24befe63d766d85a674ec55c228b892441"`; | ||
|
||
exports[`AES256 Encryption Tests encodeSensitiveText/decodeSensitiveText should encode and decode sensitive text with snapshot: encodeSensitiveText 1`] = `"SENSITIVE_ENCODE::AE7EADC1-CDA0-45FA-A340-E93BEDDEA21E::94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24ccedd5b799a93cf2af7f78ed311c13b6"`; | ||
|
||
exports[`AES256 Encryption Tests encrypt/decrypt (sync) should encrypt and decrypt buffer data with snapshot: encrypt-buffer-data 1`] = `"94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24760e01ae58b7a5dd08e376e573928c69"`; | ||
|
||
exports[`AES256 Encryption Tests encrypt/decrypt (sync) should encrypt and decrypt string data with snapshot: encrypt-string-data 1`] = `"94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24760e01ae58b7a5dd08e376e573928c69"`; | ||
|
||
exports[`AES256 Encryption Tests encryptAsync/decryptAsync should async encrypt/decrypt buffer data with snapshot: encryptAsync-buffer-data 1`] = `"94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24760e01ae58b7a5dd08e376e573928c69"`; | ||
|
||
exports[`AES256 Encryption Tests encryptAsync/decryptAsync should async encrypt/decrypt string data with snapshot: encryptAsync-string-data 1`] = `"94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24760e01ae58b7a5dd08e376e573928c69"`; | ||
|
||
exports[`AES256 Encryption Tests encryptString/decryptString should encrypt and decrypt string with hex encoding and snapshot: encryptString-hex 1`] = `"94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24760e01ae58b7a5dd08e376e573928c69"`; | ||
|
||
exports[`AES256 Encryption Tests encryptString/decryptString should support different encodings with snapshot: encryptString-base64 1`] = `"94b51c8f77aa44bdf1a6071872cd89aae44fba848cf8a50c28280a9b79a56b24d3ebac3b568ef4e5369441a40eee4a24760e01ae58b7a5dd08e376e573928c69"`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters