Module: Crypto
- Defined in:
- lib/crypto/box.rb,
lib/crypto/auth.rb,
lib/crypto/sign.rb,
lib/crypto/secret_box.rb,
lib/crypto/short_hash.rb,
lib/crypto/scalar_mult.rb,
lib/crypto/generic_hash.rb,
lib/crypto/sign/ed25519.rb,
lib/crypto/one_time_auth.rb,
lib/crypto/aead/chacha20_poly1305.rb,
lib/crypto/pw_hash/scrypt_salsa208_sha256.rb
Defined Under Namespace
Modules: AEAD, Auth, Box, GenericHash, OneTimeAuth, PwHash, ScalarMult, SecretBox, ShortHash, Sign
Class Method Summary
collapse
Class Method Details
.auth(*args) ⇒ Object
52
53
54
|
# File 'lib/crypto/auth.rb', line 52
def auth(*args)
Auth.auth(*args)
end
|
.box(*args) ⇒ Object
258
259
260
|
# File 'lib/crypto/box.rb', line 258
def box(*args)
Box.box(*args)
end
|
.box!(*args) ⇒ Object
262
263
264
|
# File 'lib/crypto/box.rb', line 262
def box!(*args)
Box.box!(*args)
end
|
.generichash(*args) ⇒ Object
100
101
102
|
# File 'lib/crypto/generic_hash.rb', line 100
def generichash(*args)
GenericHash.generichash(*args)
end
|
.onetimeauth(*args) ⇒ Object
83
84
85
|
# File 'lib/crypto/one_time_auth.rb', line 83
def onetimeauth(*args)
OneTimeAuth.onetimeauth(*args)
end
|
.scalarmut(*args) ⇒ Object
56
57
58
|
# File 'lib/crypto/scalar_mult.rb', line 56
def scalarmut(*args)
ScalarMult.scalarmut(*args)
end
|
.secretbox(*args) ⇒ Object
183
184
185
|
# File 'lib/crypto/secret_box.rb', line 183
def secretbox(*args)
SecretBox.secretbox(*args)
end
|
.secretbox!(*args) ⇒ Object
187
188
189
|
# File 'lib/crypto/secret_box.rb', line 187
def secretbox!(*args)
SecretBox.secretbox!(*args)
end
|
.shorthash(*args) ⇒ Object
41
42
43
|
# File 'lib/crypto/short_hash.rb', line 41
def shorthash(*args)
ShortHash.shorthash(*args)
end
|
.sign(*args) ⇒ Object
133
134
135
|
# File 'lib/crypto/sign.rb', line 133
def sign(*args)
Sign.sign(*args)
end
|