UNPKG

@gleif-it/did-webs-ts

Version:
7 lines (6 loc) 252 B
import { createAid } from './Aid.js'; import { createKeyState } from './KeyState.js'; export const createIdentifierAndKeys = (identifier, keyState) => ({ identifier: createAid(identifier), keyState: createKeyState(keyState.kt, keyState.k), });