import * as secp from '@noble/secp256k1'
import { hkdf } from '@noble/hashes/hkdf'
import { sha256 } from '@noble/hashes/sha256'
function makeSharedSecret(priv: Uint8Array, pub: Uint8Array, i: number) : Uint8Array {
const secretNumber = secp.getSharedSecret(priv, pub, true).slice(1,33)
const salt = ""
const keyInfo = String(i)
const keyLength = 64
Repository:
Release tag for audit:
- 0.3.0
Release snapshot URL:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ApolloServer, gql } from 'apollo-server-micro' | |
import resolvers from './resolvers' | |
import typeDefs from './typeDefs' | |
const apiServer = new ApolloServer({ typeDefs, resolvers }) | |
export default apiServer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 14Bx1w2LG7UKrvZgbqurP14ZsVosYhVKyn https://explorer.blockstack.org/address/14Bx1w2LG7UKrvZgbqurP14ZsVosYhVKyn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1MvkpZt8tPeWYL98twyRFbbH7P9thKiCib https://explorer.blockstack.org/address/1MvkpZt8tPeWYL98twyRFbbH7P9thKiCib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 15BcxePn59Y6mYD2fRLCLCaaHScefqW2No https://explorer.blockstack.org/address/15BcxePn59Y6mYD2fRLCLCaaHScefqW2No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1CpipBYyuaXksDETJRnq7c5mx3a7HG3tqg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 18GNhLizQ51987YBpRrPwZqe3rqJy7dX34 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1D1zoHRx8XnBPanLsFbA1D8JgcaFLZiyxN |
NewerOlder