New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

tiny-enc

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-enc

Tiny text encryption for modern browsers

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

🔐 tiny-enc - Tiny text encryption for modern browsers

last commit bundle size version downloads license

Tiny text encryption library for browser. It does use SubtleCrypto and async/await so it requires a secure context and a modern browser.

<script type="module">
  import tinyEnc from "https://unpkg.com/tiny-enc";
  // use it as a module or just copy/paste the code

  await tinyEnc.encrypt("password", "Hello, World"); // KA+e+PmeSy0osLFTjTgrxFZAoLJ7iixh89G7TkuyHEQ=
  await tinyEnc.decrypt("password", "KA+e+PmeSy0osLFTjTgrxFZAoLJ7iixh89G7TkuyHEQ="); // Hello, World
</script>

Keywords

aes

FAQs

Package last updated on 14 Apr 2021

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