Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
keepass
v0.4.0
Keepass
Database
Entry
Error
CipherNotSupported
CompressionNotSupported
CorruptedData
DecryptionFailed
FormatNotSupported
Generic
InnerEncryptionNotSupported
MalformedKeyFile
MissingHeader
NotKdb
Parsing
Group
Parser
Block
Cipher
Compression
InnerEncryption
Sodium
Salsa20
Built with Crystal 1.9.2
2023-10-08 13:40:56 UTC
class
Sodium::Salsa20
Sodium::Salsa20
Reference
Object
Defined in:
sodium/salsa20.cr
Constructors
.new
(key : String, nonce : String)
.new
(key : Bytes, nonce : Bytes)
Instance Method Summary
#decrypt
(data : String) : String
#encrypt
(data : String) : String
Constructor Detail
def self.
new
(key : String, nonce : String)
#
[
View source
]
def self.
new
(key : Bytes, nonce : Bytes)
#
[
View source
]
Instance Method Detail
def
decrypt
(data : String) : String
#
[
View source
]
def
encrypt
(data : String) : String
#
[
View source
]