CapyKit/Documentation/Help/M_CapyKit_IPasswordAlgorithm_Encrypt.md
Jordan Wages 735d7c4c91 Documentation + Unfinished SecurityHelper
Committing the unfinished changes to the SecurityHelper as I flesh it out during the migration. Also starting a documentation folder powered by Sandcastle.
2024-04-19 23:12:24 -05:00

1.3 KiB

Encrypt Method

Encrypts the given password using a defined algorithm.

Definition

Namespace: CapyKit
Assembly: CapyKit (in CapyKit.dll) Version: 1.0.0+6cdd805be49c3b769a116584ea6904955ecd820d

C#

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

VB

Function Encrypt ( 
	password As String,
	ParamArray args As Object()
) As Byte()

C++

array<unsigned char>^ Encrypt(
	String^ password, 
	... array<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