version 1.43, 2007/02/23 22:05:17 |
version 1.45, 2007/02/26 00:02:13 |
|
|
package Palm::Keyring; |
package Palm::Keyring; |
# $RedRiver: Keyring.pm,v 1.42 2007/02/23 03:41:28 andrew Exp $ |
# $RedRiver: Keyring.pm,v 1.44 2007/02/23 22:11:33 andrew Exp $ |
######################################################################## |
######################################################################## |
# Keyring.pm *** Perl class for Keyring for Palm OS databases. |
# Keyring.pm *** Perl class for Keyring for Palm OS databases. |
# |
# |
|
|
$c = { |
$c = { |
alias => (None|DES_EDE3|AES128|AES256), |
alias => (None|DES_EDE3|AES128|AES256), |
name => (None|DES_EDE3|Rijndael), |
name => (None|DES_EDE3|Rijndael), |
keylen => <key length of the ciphe>, |
keylen => <key length of the cipher>, |
blocksize => <block size of the cipher>, |
blocksize => <block size of the cipher>, |
default_iter => <default iterations for the cipher>, |
default_iter => <default iterations for the cipher>, |
}; |
}; |
|
|
|
|
I am sure there are problems with this module. For example, I have |
I am sure there are problems with this module. For example, I have |
not done very extensive testing of the v5 databases. |
not done very extensive testing of the v5 databases. |
|
|
|
I am not sure I am 'require module' the best way, but I don't want to |
|
depend on modules that you don't need to use. |
|
|
I am not very happy with the data structures used by Encrypt() and |
I am not very happy with the data structures used by Encrypt() and |
Decrypt() for v5 databases, but I am not sure of a better way. |
Decrypt() for v5 databases, but I am not sure of a better way. |