mirror of
https://github.com/wagesj45/CapyKit.git
synced 2024-11-12 19:23:36 -06:00
1.4 KiB
1.4 KiB
Encrypt Method
Encrypts the given password using a PBKDF2 algorithm.
Definition
Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.2
C#
public byte[] Encrypt(
string password,
params Object[] args
)
F#
abstract Encrypt :
password : string *
args : Object[] -> byte[]
override Encrypt :
password : string *
args : Object[] -> byte[]
Parameters
- String
- The plaintext password.
- Object[]
- Additional arguments for the encryption process, specifically
salt
length
iterations
Return Value
Byte[]
A byte array with the hashed password.
Implements
IPasswordAlgorithm.Encrypt(String, Object[])