The simplest mechanisms simply transmits the username and password without adding any encryption or hashing. As such it's more insecure than DH-BLOWFISH and should only be used in combination with SSL.
@param [String] user @param [String] password @return [String]
# File lib/cinch/sasl/plain.rb, line 20 def generate(user, password, _ = nil) Base64.strict_encode64([user, user, password].join("\00"")) end
@return [String]
# File lib/cinch/sasl/plain.rb, line 13 def mechanism_name "PLAIN" end