Use the following template to create your pull request
Describe the changes that where made in this pull request. When possible start with a user story - short, simple descriptions of a feature told from the perspective of the person who desires the new capability. Be sure to also include the following information:
- Motivation for change
- What was changed
- How does this impact application developers
- Link to relevant issues and documentation
- Provide examples of use cases with code samples and applicable acceptance criteria
Example:
As a Blockstack developer, I would like to encrypt files using the app private key. This is needed because storing unencrypted files is unacceptable. This pull request adds the encryptContent
function which will take a string and encrypt it using the app private key.
encryptContent('my data')
// Running the above should result in the following encrypted data object
{"iv":"c91...","ephemeralPK":"031...","cipherText":"d61...","mac":"e73..."}
For details refer to issue #123
- New feature
- Bug fix
- API reference/documentation update
- Other
List the APIs or describe the functionality that this PR breaks. Workarounds for or expected timeline for deprecation
Provide context on how tests should be performed.
- Is testing required for this change?
- If it’s a bug fix, list steps to reproduce the bug
- Briefly mention affected code paths
- List other affected projects if possible
- Things to watch out for when testing
- Code is commented where needed
- Unit test coverage for new or modified code paths
-
npm run test
passes - Changelog is updated
- Tag 1 of @yknl or @zone117x for review