Runs and passes, but if I uncomment line 27 it fails with
console.log
oo
at Object.mM [as caml_pasta_fp_plonk_index_create] (node_modules/snarkyjs/dist/server/node_bindings/snarky_js_node.bc.js:2:23985)
console.log
eyo
#!/bin/sh | |
convert -background none multisignature_alice.png multisignature_bob.png multisignature_composite.png +append multisignature_keys.png | |
convert -background none multisignature_nonces.png multisignature_lhs_signatures.png multisignature_rhs_signatures.png +append multisignature_verification.png |
#!/bin/sh | |
convert -background none inputs_before.png inputs_after.png +append inputs.png | |
Runs and passes, but if I uncomment line 27 it fails with
console.log
oo
at Object.mM [as caml_pasta_fp_plonk_index_create] (node_modules/snarkyjs/dist/server/node_bindings/snarky_js_node.bc.js:2:23985)
console.log
eyo
Running the version without arrayProp
[nodemon] starting `node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm try_circuit_serialization.ts`
* checking if JSONized objects match after parsing
{ a: '1', b: { value: '1' } }
{ a: '1', b: { value: '1' } }
by renzokuken
This document aims to technically define the requirements for a Telegram bot that can deposit and withdraw GRIN digital cash cryptocurrency. It is meant to be regarded as a formal application for a bounty suggested in this forum post.
Such a bot could serve more than one purpose.
from functools import wraps | |
class ForbiddenDrink: | |
def __init__(self, drinks): | |
self.do_not_drink_that = drinks | |
def __call__(self, func): | |
@wraps(func) | |
def wrapper(*args, **kwargs): | |
innerself = args[0] |
A very simple zkApp that allows user to deposit and withdraw. Run it with
node --experimental-vm-modules --experimental-wasm-modules --experimental-wasm-threads node_modules/jest/bin/jest.js -- fakemac.test.ts
def numberToBase(n, b): | |
if n == 0: | |
return [0] | |
digits = [] | |
while n: | |
digits.append(int(n % b)) | |
n //= b | |
return digits[::-1] |
This repository contains my simplified AGE (Actually Good Encryption) http://age-encryption.org/v1 heavily based on pyage
library.
It's purpose is to demonstrate the fact that GRIN core wallet implementation is producing incorrect HMAC signatures in its AGE-encrypted payloads.
slateage.py
contains values implementated by the GRIN core wallet. My code correctly decrypts it only if HMAC verification is ignored. Decrypted payload contains the sender address.validage.py
contains official AGE test vector. My code correctly decrypts it and verifies the HMAC and matches the expected file key. Decrypted payload hash matches the expected value.Another indicator the GRIN core wallet is producing flawed HMAC signatures is the fact that in grin++ wallet the HMAC verification also had to be commented out.
To run it, first setup