lib/universa/contract.rb in universa-3.12.0.2 vs lib/universa/contract.rb in universa-3.12.4.1
- old
+ new
@@ -15,11 +15,11 @@
ki = KeyInfo.new(prf, rounds, salt, tag)
ki.derivePassword(password)
end
# Utiliy to generate keys of arbitrary length derived from passwords using PBKDF2 algorithm. Use
- # {#derive} to produce keys from passwords in a realtively safe way (safety depends on the password strength)
+ # {derive} to produce keys from passwords in a realtively safe way (safety depends on the password strength)
class PBKDF2 < RemoteAdapter
remote_class "com.icodici.crypto.PBKDF2"
# Derive a binary key from the string password using PBKDF2 algorithm.
#
@@ -35,9 +35,12 @@
end
end
class Parcel < RemoteAdapter
remote_class "com.icodici.universa.contract.Parcel"
+
+ static_method :of
+ static_method :unpack
end
class UnsContract < RemoteAdapter
remote_class "com.icodici.universa.contract.services.UnsContract"
end
\ No newline at end of file