Class EncryptedObjectAEAD
Encrypted Object using libsodium AEAD algorithm with a shared secret/private key
Inherited Members
Namespace: BO4E.BO
Assembly: BO4E-dotnet.Extensions.Encryption.dll
Syntax
public class EncryptedObjectAEAD : EncryptedObject
Constructors
| Improve this Doc View SourceEncryptedObjectAEAD(String, String, String)
Declaration
public EncryptedObjectAEAD(string cipherText, string associatedData, string nonce)
Parameters
Type | Name | Description |
---|---|---|
System.String | cipherText | base64 encoded cipher text |
System.String | associatedData | associated data (UTF-8), <=16 characters |
System.String | nonce | unique nonce / initialisation vector (base 64 encoded, must not be used twice) |
Properties
| Improve this Doc View SourceAssociatedData
associated data string (UTF-8); might be an empty string but not null
Declaration
public string AssociatedData { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Nonce
base64 encoded unique nonce / initialisation vector
Declaration
public string Nonce { get; set; }
Property Value
Type | Description |
---|---|
System.String |