Open kentbull opened 2 months ago
I calculated the SAIDs here with KERIpy and got the SAIDs in this changeset.
Here are the tests to generate the SAIDs I did (put the tests in test_coring.py and run them for reference).
test_coring.py
def test_said_1(): code = MtrDex.Blake3_256 ser = b'{"said":"############################################","first":"Sue","last":"Smith","role":"Founder"}' saider, sad = Saider.saidify(sad=json.loads(ser), code=code, label='said') assert saider.qb64 == 'EJymtAC4piy_HkHWRs4JSRv0sb53MZJr8BQ4SMixXIVJ' def test_said_2(): code = MtrDex.Blake3_256 ser = b'{"$id": "############################################","$schema": "http://json-schema.org/draft-07/schema#","type": "object","properties": {"full_name": {"type": "string"}}}' saider, sad = Saider.saidify(sad=json.loads(ser), code=code, label='$id') assert saider.qb64 == 'EGU_SHY-8ywNBJOqPKHr4sXV9tOtOwpYzYOM63_zUCDW'
I calculated the SAIDs here with KERIpy and got the SAIDs in this changeset.
Here are the tests to generate the SAIDs I did (put the tests in
test_coring.py
and run them for reference).