@stablelib/aead
Advanced tools
Comparing version 0.5.0 to 1.0.0
12
aead.ts
@@ -5,4 +5,8 @@ // Copyright (C) 2016 Dmitry Chestnykh | ||
/** | ||
* Authenticated Encryption with Associated Data. | ||
* Package aead provides interface for authentication encryption with associated data. | ||
*/ | ||
/** | ||
* AEAD is a common interface for authenticated encryption with associated Data. | ||
*/ | ||
export interface AEAD { | ||
@@ -15,3 +19,3 @@ /** | ||
/** | ||
* Byte length of authentication tag in the sealed ciphertext. | ||
* Byte length of authentication tag included in the sealed ciphertext. | ||
* Result of seal() will be longer than plaintext for this number of bytes. | ||
@@ -33,3 +37,3 @@ */ | ||
* Authenticates ciphertext (which includes authentication tag) and | ||
* associated data, decrypts ciphertext and returns decrypted plaintext. | ||
* associated data, decrypts ciphertext, and returns decrypted plaintext. | ||
* | ||
@@ -46,5 +50,5 @@ * If authentication fails, it returns null. | ||
* Wipes state from memory. | ||
* This doesn't wipe the underlying block cipher state. | ||
* Doesn't wipe the underlying block cipher state. | ||
*/ | ||
clean(): this; | ||
} |
/** | ||
* Authenticated Encryption with Associated Data. | ||
* Package aead provides interface for authentication encryption with associated data. | ||
*/ | ||
/** | ||
* AEAD is a common interface for authenticated encryption with associated Data. | ||
*/ | ||
export interface AEAD { | ||
@@ -10,3 +13,3 @@ /** | ||
/** | ||
* Byte length of authentication tag in the sealed ciphertext. | ||
* Byte length of authentication tag included in the sealed ciphertext. | ||
* Result of seal() will be longer than plaintext for this number of bytes. | ||
@@ -25,3 +28,3 @@ */ | ||
* Authenticates ciphertext (which includes authentication tag) and | ||
* associated data, decrypts ciphertext and returns decrypted plaintext. | ||
* associated data, decrypts ciphertext, and returns decrypted plaintext. | ||
* | ||
@@ -36,5 +39,5 @@ * If authentication fails, it returns null. | ||
* Wipes state from memory. | ||
* This doesn't wipe the underlying block cipher state. | ||
* Doesn't wipe the underlying block cipher state. | ||
*/ | ||
clean(): this; | ||
} |
{ | ||
"name": "@stablelib/aead", | ||
"version": "0.5.0", | ||
"version": "1.0.0", | ||
"description": "AEAD interface declaration (authenticated encryption with associated data)", | ||
@@ -14,3 +14,4 @@ "main": "./lib/aead.js", | ||
"build": "tsc" | ||
} | ||
}, | ||
"gitHead": "c3b9e138650642a738a9225956c75dbe44c76ae6" | ||
} |
No License Found
License(Experimental) License information could not be found
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5661
115
1
1