Skip to content

M_Ekstrand_Encryption_Ciphers_EnigmaBinary_Init

Fred Ekstrand edited this page Aug 5, 2020 · 1 revision

EnigmaBinary.Init Method

Initialize the cipher.

Namespace: Ekstrand.Encryption.Ciphers
Assembly: EnigmaBinaryCipher (in EnigmaBinaryCipher.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public void Init(
	bool forEncryption = true,
	ICipherParameters parameters = null
)

VB

Public Sub Init ( 
	Optional forEncryption As Boolean = true,
	Optional parameters As ICipherParameters = Nothing
)

C++

public:
virtual void Init(
	bool forEncryption = true, 
	ICipherParameters^ parameters = nullptr
) sealed

F#

abstract Init : 
        ?forEncryption : bool * 
        ?parameters : ICipherParameters 
(* Defaults:
        let _forEncryption = defaultArg forEncryption true
        let _parameters = defaultArg parameters null
*)
-> unit 
override Init : 
        ?forEncryption : bool * 
        ?parameters : ICipherParameters 
(* Defaults:
        let _forEncryption = defaultArg forEncryption true
        let _parameters = defaultArg parameters null
*)
-> unit 

Parameters

 

forEncryption (Optional)
Type: System.Boolean
Initialize for encryption if true, for decryption if false.
parameters (Optional)
Type: Ekstrand.Encryption.Ciphers.ICipherParameters
The key or other data required by the cipher.

Implements

IStreamCipher.Init(Boolean, ICipherParameters)

See Also

Reference

EnigmaBinary Class
Ekstrand.Encryption.Ciphers Namespace

Clone this wiki locally