marcocg: These are the changed I introduce.
*Added Transaction.amount field to the digital signature.
*Changed the assumed encoding of strings containing the keys to be base64 in the Account constructors and methods that use string.