abstract class LavinMQ::User::RabbitPassword

Included Modules

Direct Known Subclasses

Defined in:

lavinmq/password.cr

Constant Summary

SALT_SIZE = 4

Constructors

Instance Method Summary

Instance methods inherited from module LavinMQ::User::Password

hash_algorithm : String hash_algorithm

Constructor Detail

def self.create(password : String) : self #

[View source]
def self.new(salt : Bytes, hash : Bytes) #

[View source]
def self.new(raw_hash : String) #

[View source]

Instance Method Detail

abstract def digest_size : Int32 #

[View source]
abstract def hash_prefix : String #

[View source]
def inspect(io) #

[View source]
abstract def openssl_hash_algorithm : String #

[View source]
def to_json(json) #

[View source]
def to_s(io) #

[View source]
def verify(password) : Bool #

[View source]