Permalink
Browse files

Remove last traces of ill-fated Ciphertext class

Now it lives only in the history
  • Loading branch information...
1 parent 2d16346 commit 8c025d1ab462b3f933ee74803aff9f2203f2ed45 @namelessjon namelessjon committed Mar 14, 2013
View
@@ -117,7 +117,7 @@ def nonce_bytes
#
# @raise [Crypto::LengthError] If the nonce is not valid
#
- # @return [Crypto::Ciphertext] The ciphertext without the nonce prepended (BINARY encoded)
+ # @return [String] The ciphertext without the nonce prepended (BINARY encoded)
def box(nonce, message)
@primitive.box(nonce, message)
end
@@ -94,7 +94,7 @@ def nonce_bytes
#
# @raise [Crypto::LengthError] If the nonce is not valid
#
- # @return [Crypto::Ciphertext] The ciphertext without the nonce prepended (BINARY encoded)
+ # @return [String] The ciphertext without the nonce prepended (BINARY encoded)
def box(nonce, message)
Util.check_length(nonce, NONCEBYTES, "Nonce")
msg = Util.prepend_zeros(NaCl::ZEROBYTES, message)
View
@@ -70,7 +70,7 @@ def nonce_bytes
#
# @raise [Crypto::LengthError] If the nonce is not valid
#
- # @return [Crypto::Ciphertext] The ciphertext without the nonce prepended (BINARY encoded)
+ # @return [String] The ciphertext without the nonce prepended (BINARY encoded)
def box(nonce, message)
@primitive.box(nonce, message)
end
@@ -82,7 +82,7 @@ def nonce_bytes
#
# @raise [Crypto::LengthError] If the nonce is not valid
#
- # @return [Crypto::Ciphertext] The ciphertext without the nonce prepended (BINARY encoded)
+ # @return [String] The ciphertext without the nonce prepended (BINARY encoded)
def box(nonce, message)
Util.check_length(nonce, NONCEBYTES, "Nonce")
msg = Util.prepend_zeros(NaCl::ZEROBYTES, message)

0 comments on commit 8c025d1

Please sign in to comment.