CapyKit/Documentation/Help/M_CapyKit_Pbkdf2Algorithm_Encrypt.md
Jordan Wages 87bd044b31 Settings Helper + Documentation
The `SettingsHelper` is an agnostic way to access settings values uniformly through code. The accessor methods are controlled by the consumer.

Documentation has been a bit wonky. I changed the max number of version number components allowed, so each new build should not create new changes on every single bit of documentation now.
2024-04-22 18:28:21 -05:00

1.4 KiB

Encrypt Method

Encrypts the given password using a PBKDF2 algorithm.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0

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
  1. salt
  2. length
  3. iterations

Return Value

Byte[]
A byte array with the hashed password.

Implements

IPasswordAlgorithm.Encrypt(String, Object[])

See Also

Reference

Pbkdf2Algorithm Class
CapyKit Namespace