From 0053cb1bd48b8aa7e3535045f99f24a562f5d264 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 20 Jul 2011 21:02:30 +0200 Subject: Documentation updates --- lib/App/Raps2/Password.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/App/Raps2/Password.pm') diff --git a/lib/App/Raps2/Password.pm b/lib/App/Raps2/Password.pm index d80a138..fb73255 100644 --- a/lib/App/Raps2/Password.pm +++ b/lib/App/Raps2/Password.pm @@ -175,7 +175,8 @@ Returns a new 16-byte salt. Contains only printable characters. Returns the currently used salt and optionally changes it to I. -=item $pass->encrypt(I, [I]) +=item $pass->encrypt(B => I, [B => I], +[B => I]) Encrypts I with the passphrase saved in the object, returns the corresponding hexadecimal hash (as string). @@ -183,7 +184,8 @@ corresponding hexadecimal hash (as string). By default, the salt set in B or B will be used. You can override it by specifying I. -=item $pass->decrypt(I, [I]) +=item $pass->decrypt(B => I, [B => I], +[B => I]) Decrypts I (as created by B), returns its original content. -- cgit v1.2.3