CapyKit/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Encrypt.md

1.1 KiB

Encrypt Method

Encrypts the given password using a defined algorithm.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+735d7c4c91a8ae04c2d8cae4ce85ddf4909e5b7d

C#

byte[] Encrypt(
	string password,
	params Object[] args
)

F#

abstract Encrypt : 
        password : string * 
        args : Object[] -> byte[] 

Parameters

  String
The plaintext password.
  Object[]
Additional arguments for the encryption process, such as salt and length.

Return Value

Byte[]
A byte array with the hashed password.

See Also

Reference

IPasswordAlgorithm Interface
CapyKit Namespace