A new version of CryptoCoreTests was added to project The Inbox:
http://source.squeak.org/inbox/CryptoCoreTests-rww.3.mcz==================== Summary ====================
Name: CryptoCoreTests-rww.3
Author: rww
Time: 28 September 2010, 6:57:48.618 am
UUID: c71563ed-97ff-d54d-b76d-2da57733a34a
Ancestors: CryptoCoreTests-rww.2
added fix to RSAKeyPairGenerator by Denis Kudriashov and new test
=============== Diff against CryptoCoreTests-rww.2 ===============
Item was added:
+ ----- Method: CryptoRSATest>>testSignVerificationByGeneratedKeys (in category 'tests') -----
+ testSignVerificationByGeneratedKeys
+
+ | signBytes gen |
+ gen := RSAKeyPairGenerator bits: 1024.
+ gen computePrimes.
+
+ signBytes := gen privateKey v15SignMessage: 'hello'.
+
+ self assert: (gen publicKey v15Verify: signBytes isSignatureOf: 'hello')!