Class Crypto
General native cypto cipher
Assembly: cs.temp.dll.dll
Declaration
Properties
Handle
Cipher handle
Declaration
Methods
Create(OdinCipherHandle)
Create Crypto with OdinCipherHandle from Odin.Crypto.Methods
Declaration
Returns
OdinNative.Wrapper.Crypto: Crypto wrapper
Parameters
Type | Name | Description |
---|---|---|
Odin.OdinCipherHandle | handle | native OdinCipherHandle |
Create()
Create Crypto with a new OdinCipherHandle
Declaration
Returns
OdinNative.Wrapper.Crypto: new Crypto wrapper### Create(string) Create Crypto with a new OdinCipherHandle and set password
Declaration
Returns
OdinNative.Wrapper.Crypto: new Crypto wrapper
Parameters
Type | Name | Description |
---|---|---|
System.String | password | cipher password |
CryptoCreate()
Declaration
Returns
Odin.OdinCipherHandle
CryptoGetPeerStatus(int)
Get peer status of unencrypted/encrypted
Declaration
Returns
Odin.OdinCryptoPeerStatus
: encryption status of peer
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | peerId | peer to check |
CryptoSetPassword(string)
Set Cipher password for native crypto
Declaration
Returns
System.Boolean
: true on 0 or false
Parameters
Type | Name | Description |
---|---|---|
System.String | password | cipher password |
Dispose()
Cleanup OdinCipherHandle
Declaration