Method: ECIES::Crypt#to_s
- Defined in:
- lib/ecies/crypt.rb
#to_s ⇒ String
Returns A string representing this Crypt's parameters.
148 149 150 151 152 |
# File 'lib/ecies/crypt.rb', line 148 def to_s "KDF-#{@kdf_digest.name}_" + "HMAC-SHA-#{@mac_digest.digest_length * 8}-#{@mac_length * 8}_" + @cipher.name end |