forked from FellowTraveler/Open-Transactions-old
-
Notifications
You must be signed in to change notification settings - Fork 0
Sample Cash
FellowTraveler edited this page Aug 15, 2010
·
17 revisions
-----BEGIN SIGNED CASH-----
Hash: SAMY
<?xml version="1.0"?>
<token
version="1.0"
state="spendableToken"
denomination="25"
assetTypeID="d7a11ee80460a10b91a4ad49069a7fc2a34c349433ffbd33dad7e31ba8b170d482c524a911c1569ccde5a11e680c2c6b00053d5fc718b7a884057352f56060b9"
serverID="0bb39523d6b54381c5477aeae808cb51dfbada7bd256e3a0298273a59772f5ad93cd5dee4e6061283dcffd1447719d96fd00b81b8945d01430fdfe68d8adb51f"
series="0"
validFrom="1281865563"
validTo="1297417563" >
<tokenID>
AAAAgGZdHsse3IXV4VTvm78X5uFwrmSuc116m3dSS2ueXbAKQnSeADKyUoBa8Dem
isNgXcjfbfVKsrVAPR3kNd9xCFY4uR7nMBSOHKrCaUSpUVVgB8IOYtgOmPQTXiuE
wtJrxofv947QBuP8RnVvf0ZVt0xLL6zlbpk3UW4iDIr0HXmuQQ49q/vJdWJjSHRF
Q/nt0BN5mxFiSbXyKr7no+QC0u7Sr78jYI3Itn67J3uaMmxBmA4JrIrHse36ABuW
zxecCkTNki9Om5bl6c1QgM/N1gogWX3n4o7Zz+7Dw7zt1e/7nG6AYlOT3kfpXNnT
8xojuyaiSINDQOoJboc0tq2CnX+ma6CNC7bQKtN69SZJs14DseqKquWe7gwCHPTo
ewSsKeRmTjzxDhjnFNLRRJGhC4bvH/tZD0UE8EY0X83mvQiNJ/5on2SxTxanJXNt
iCj3+Uczaa0CQ1fQ6ubrwbpeWgZRzB3CUtHTsLVhPSBkEnRbndyFEehfb6rKyEqs
kfEaa1LdiBj/MctrP6EBbGcrmixnr820KLXmFNjDhhybeFNK/cTRuYw7cWra4/S9
F4QViwCmlLToMwOCYmwMpm//HFn4eQSLsMcP+gVAXme9YmVTlEKupQGV+EbJ/gnO
prlZxQ==
</tokenID>
<tokenSignature>
eJwNkcmqGDAIRbt+X6PGIS66MA7/0cWjdFPo9P8VghC5Icfj789f/z7//P1K4iGX
4nEPHBTMw2LYT98jc0SlQ1FxxpElr82DoG132xviCFPrF93Z4OU87XLa7VRycBMy
t4zvSzzq/g682virNLlMgGKhg+YdShZMgmda7R4frQULSOOqTeplqxIY1TBusJfT
drXuu9UAaI3YeaD15OhDanNQfYMjynswnJXrhh6g13Pfx58f339++/vv9+fX1ld1
k0zaTM7tSSa+jmuiIUeyj7gaMIzQCSHL04u7svq9XKpUExeWkldGfUgV9qK4lV2z
d9aoa6pjRQIWTbMY6ITNNGOWuDHNRJI1mwGF3U3AHMWHoJo119PrdxVTdyrrsBmG
vO1LK4hkjGxBDC67vROrF/bfYb+rA0oSuVqyKNNlypHg48t//0l7ww==
</tokenSignature>
</token>
-----BEGIN CASH SIGNATURE-----
GAry6ydopTPrPMs1V+9EPvszmZQsRkOtqm+5QeUywyEyOUoFuJJfHhPxMWPbupf/
cq+vBf0JwK5yy/XA2Pzom80TPTry4JpxXckx/JcmyUikhocTY01sDZNcXzEfBvQJ
kIeADfmw/4/adTjHhVCy4k+OdGFvdIwfNIdbVfsfKfg=
-----END CASH SIGNATURE-----
Decrypting the tokenID (from Lucre and stored on the Note):
id=A4C05DF4C43B77EBF02309502E5FB3F30C5811886254DD8B9B0C2791
signature=9F29D79A07D48D467874DE7F76B5EF02646835A47DD576221612DA1A9C4A531C10DFF2BECB5EC72D13F2C1DE3EB885636085F09CF33F80125BB2EA3CEA01EA6B112125E29E796FD889CBA467B1F5B9BF4FA2FFEA8AB4C111D84F4E7236B70A42CE3137FB23DEBE79FF37B6C161A3F77009EF714E8D0CE528B5572DA58155D59C
Decoding the tokenSignature (from Lucre and stored on the Note):
request=2331FBA771EB4DF7DFCD3D4DFD9F3DA5F43A90C7A00EC599C557E8C82D9679BB0F2AEF36ECBCA3C551B5C7E134C151AC93779415E695C5CDDD753DE245DF31904EEFC1D3E3D464E5DB27E80AE65355004DC869CF47BBDCD2B79EF2F23A0412826EE9794E9B8BA07E03C417A59EC2CB74195FB2714E1CBAE49EF89D5A672CA6BA
signature=8B29439A2CA05CE28C416A8C5395123468A8E8505C1B2FC1568910B27759B652971240C975D1422C9ADC35368A6A6B439F1D4614C52713A82C9B662E9099121324DD4BEA5B76AD123F9912AB43A47AC590FC1DCED905C10B72B418107FD709D57D8DEC779896F48989C72171D01BCB15673CCF36B2FFCC29B9D986FCFE97E689