Class Cryptor
Assembly: Confluent.SchemaRegistry.Encryption.dll
Syntax
Constructors
Declaration
public Cryptor(DekFormat dekFormat)
Parameters
Properties
Declaration
public DekFormat DekFormat { get; }
Property Value
IsDeterministic
Declaration
public bool IsDeterministic { get; }
Property Value
Methods
Decrypt(byte[], byte[])
Declaration
public byte[] Decrypt(byte[] key, byte[] ciphertext)
Parameters
Type |
Name |
Description |
byte[] |
key |
|
byte[] |
ciphertext |
|
Returns
DecryptWithAesSiv(byte[], byte[])
Declaration
public byte[] DecryptWithAesSiv(byte[] key, byte[] ciphertext)
Parameters
Type |
Name |
Description |
byte[] |
key |
|
byte[] |
ciphertext |
|
Returns
Encrypt(byte[], byte[])
Declaration
public byte[] Encrypt(byte[] key, byte[] plaintext)
Parameters
Type |
Name |
Description |
byte[] |
key |
|
byte[] |
plaintext |
|
Returns
GenerateKey()
Declaration
public byte[] GenerateKey()
Returns
KeySize()
Declaration
Returns