UtilEncryptionPolymorphicStairsEncrypt(Byte, Byte, UInt32) Method

Encrypts data using Polymorphic Stairs algorithm.

Definition

Namespace: DevCase.Core.Security.Cryptography.Encryption
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static byte[] PolymorphicStairsEncrypt(
	byte[] data,
	byte[] key,
	uint extraRounds = 0
)

Parameters

data  Byte
The data to encrypt.
key  Byte
The encryption key.
extraRounds  UInt32  (Optional)
A value that determines how many addtional times you want to encrypt the data.

For exemple, if you want to encrypt it two times, set extraRounds to 1 when calling this function.

Return Value

Byte
The encrypted data.

See Also