aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-core/src/crypto.test.ts
blob: 346806facd356d2ce88173c201433c97af103a7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import test from "ava";

// Vector generated with taler-anastasis-tvg
const userIdVector = {
  input_id_data: {
    name: "Fleabag",
    ssn: "AB123",
  },
  input_server_salt: "FZ48EFS7WS3R2ZR4V53A3GFFY4",
  output_id:
    "YS45R6CGJV84K1NN7T14ZBCPVTZ6H15XJSM1FV0R748MHPV82SM0126EBZKBAAGCR34Q9AFKPEW1HRT2Q9GQ5JRA3642AB571DKZS18",
};

test("user ID derivation", async (t) => {
  t.fail();
});