Skip to content
Browse files

Note that we're returning a Ciphertext

  • Loading branch information...
1 parent 34d1de4 commit a6da4ba012de756b8b74e233106e9adbe7ba9de2 @namelessjon namelessjon committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rbnacl/secret_box.rb
View
2 lib/rbnacl/secret_box.rb
@@ -70,7 +70,7 @@ def nonce_bytes
#
# @raise [Crypto::LengthError] If the nonce is not valid
#
- # @return [String] The ciphertext without the nonce prepended (BINARY encoded)
+ # @return [Crypto::Ciphertext] The ciphertext without the nonce prepended (BINARY encoded)
def box(nonce, message)
@primitive.box(nonce, message)
end

0 comments on commit a6da4ba

Please sign in to comment.
Something went wrong with that request. Please try again.