class TTTLS13::Cryptograph::Passer
Public Instance Methods
decrypt(encrypted_record, _auth_data)
click to toggle source
@param encrypted_record [String]
@return [String] @return [TTTLS13::Message::ContentType]
# File lib/tttls1.3/cryptograph/passer.rb, line 18 def decrypt(encrypted_record, _auth_data) [encrypted_record, encrypted_record[0]] end
encrypt(content, _type)
click to toggle source
@param content [String]
@return [String]
# File lib/tttls1.3/cryptograph/passer.rb, line 10 def encrypt(content, _type) content end