Class: TTTLS13::Cryptograph::Passer
- Inherits:
-
Object
- Object
- TTTLS13::Cryptograph::Passer
- Defined in:
- lib/tttls1.3/cryptograph/passer.rb
Instance Method Summary collapse
- #decrypt(encrypted_record, _auth_data) ⇒ String, TTTLS13::Message::ContentType
- #encrypt(content, _type) ⇒ String
Instance Method Details
#decrypt(encrypted_record, _auth_data) ⇒ String, TTTLS13::Message::ContentType
18 19 20 |
# File 'lib/tttls1.3/cryptograph/passer.rb', line 18 def decrypt(encrypted_record, _auth_data) [encrypted_record, encrypted_record[0]] end |
#encrypt(content, _type) ⇒ String
10 11 12 |
# File 'lib/tttls1.3/cryptograph/passer.rb', line 10 def encrypt(content, _type) content end |