A standalone function example, if you need it separately: Generates a new Entity Secret Ciphertext.
Parameters for generating a new the entity secret cipher text.
ApiKey that will be used to authenticate the request.
Optional base URL to override the default: https://api.circle.com
.
Entity Secret.
1const secret = await generateEntitySecretCiphertext({
2 apiKey: '...',
3 entitySecret: '...',
4})
5console.log(secret)