SecKey.Encrypt SecKey.Encrypt Method

Definition

Overloads

Encrypt(SecPadding, Byte[], Byte[]) Encrypt(SecPadding, Byte[], Byte[])
Encrypt(SecPadding, IntPtr, nint, IntPtr, nint) Encrypt(SecPadding, IntPtr, nint, IntPtr, nint)
Encrypt(SecPadding, Byte[], Byte[]) Encrypt(SecPadding, Byte[], Byte[])

Encrypt(SecPadding, Byte[], Byte[]) Encrypt(SecPadding, Byte[], Byte[])

public Security.SecStatusCode Encrypt (Security.SecPadding padding, byte[] plainText, out byte[] cipherText);
member this.Encrypt : Security.SecPadding * byte[] *  -> Security.SecStatusCode

Parameters

plainText
Byte[]
cipherText
Byte[]

Returns

Encrypt(SecPadding, IntPtr, nint, IntPtr, nint) Encrypt(SecPadding, IntPtr, nint, IntPtr, nint)

public Security.SecStatusCode Encrypt (Security.SecPadding padding, IntPtr plainText, nint plainTextLen, IntPtr cipherText, ref nint cipherTextLen);
member this.Encrypt : Security.SecPadding * nativeint * nint * nativeint *  -> Security.SecStatusCode

Parameters

plainText
IntPtr IntPtr
plainTextLen
nint nint
cipherText
IntPtr IntPtr
cipherTextLen
nint nint

Returns

Encrypt(SecPadding, Byte[], Byte[]) Encrypt(SecPadding, Byte[], Byte[])

public Security.SecStatusCode Encrypt (Security.SecPadding padding, byte[] plainText, byte[] cipherText);
member this.Encrypt : Security.SecPadding * byte[] * byte[] -> Security.SecStatusCode

Parameters

plainText
Byte[]
cipherText
Byte[]

Returns

Applies to