Sha256: 9abffece61993e7a10117efcec8a6c1317381b6e14d7813b1695213fb417dab6
Contents?: true
Size: 801 Bytes
Versions: 3
Compression:
Stored size: 801 Bytes
Contents
module Argon2 # Direct external bindings. Call these methods via the Engine class to ensure points are dealt with module Ext extend FFI::Library end # The engine class shields users from the FFI interface. # It is generally not advised to directly use this class. class Engine def self.hash_argon2i: (untyped password, untyped salt, untyped t_cost, untyped m_cost, ?untyped? out_len) -> untyped def self.hash_argon2id: (untyped password, untyped salt, untyped t_cost, untyped m_cost, untyped p_cost, ?untyped? out_len) -> untyped def self.hash_argon2id_encode: (untyped password, untyped salt, untyped t_cost, untyped m_cost, untyped p_cost, untyped secret) -> untyped def self.argon2_verify: (untyped pwd, untyped hash, untyped secret) -> (false | true) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
argon2-2.2.0 | sig/ffi.rbs |
argon2-2.1.3 | sig/ffi.rbs |
argon2-2.1.2 | sig/ffi.rbs |