Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/tbal999/n2n-encryption

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tbal999/n2n-encryption

  • v0.0.0-20200610082040-9276f46a5cb9
  • Source
  • Go
  • Socket score

Version published
Created
Source

n2n-encryption

This is best used on small strings. For example, on a 30kb file the key will be 166kb and the encrypted file will be over 1GB in size.

  1. type in a string
  2. encode
  3. this will encode the string using a randomly generated key that's as long as the string is in bytes
  4. you can save the string and key (saved in seperate JSON files, one starting with 'string' and the other starting with 'key')
  5. you can load them as well.
  6. you can also load in strings (imported in correct JSON format below) and encode them.
  7. you can also load in files to be encrypted. But i'd recommend small files!

{"storageString":"INSERTSTRINGHERE","storageBy":null,"storageInt":null} save the file as stringimport.JSON and when you want to load it - type in 'import'. as an example

That's all folks for now

TODO:

Create API or frontend web app to go along with this - DONE! Available at https://github.com/tbal999/n2n-encrypt-api

FAQs

Package last updated on 10 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc