UtilEncryptionPolymorphicStairsEncrypt(Byte, Byte, UInt32) Method
Encrypts data using Polymorphic Stairs algorithm.
Namespace: DevCase.Core.Security.Cryptography.EncryptionAssembly: 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
)
Public Shared Function PolymorphicStairsEncrypt (
data As Byte(),
key As Byte(),
Optional extraRounds As UInteger = 0
) As Byte()
Dim data As Byte()
Dim key As Byte()
Dim extraRounds As UInteger
Dim returnValue As Byte()
returnValue = UtilEncryption.PolymorphicStairsEncrypt(data,
key, extraRounds)
public:
static array<unsigned char>^ PolymorphicStairsEncrypt(
array<unsigned char>^ data,
array<unsigned char>^ key,
unsigned int extraRounds = 0
)
static member PolymorphicStairsEncrypt :
data : byte[] *
key : byte[] *
?extraRounds : uint32
(* Defaults:
let _extraRounds = defaultArg extraRounds 0
*)
-> byte[]
No code example is currently available or this language may not be supported.
- 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.
Byte
The encrypted data.