npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@aux4/encrypt

v1.0.7

Published

Aux4 encrypt and decrypt tool

Downloads

20

Readme

@aux4/encrypt

Aux4 encrypt and decrypt tool

Generate key

$ aux4-encrypt generate-secret

e85fd3a1f57b6d445e4bf077a9239ba74f0c6a6f07dde6a14ca0043240a2b4eeaf7159ae3d3872825940c2d3e02f081f

Encrypt

Using parameter

$ aux4-encrypt encrypt --text "Hello World"

ea776229343c22471b5a1f8876ab605a96e7c81a9429014b6ebb777323426117bbdcf82a5f4ad5fc3077dece9a24b80ec698e640b0fbb90aede4d4e35eed8c9cf90f14ccb71441abb9c3bf7a13cca98bb846aee199efec26f33e1ef4f1c5fbbbc64d4b5746066174bf3196

From file

$ cat hello.txt | aux4-encrypt encrypt

ea776229343c22471b5a1f8876ab605a96e7c81a9429014b6ebb777323426117bbdcf82a5f4ad5fc3077dece9a24b80ec698e640b0fbb90aede4d4e35eed8c9cf90f14ccb71441abb9c3bf7a13cca98bb846aee199efec26f33e1ef4f1c5fbbbc64d4b5746066174bf3196

Using custom secret

From parameter

$ aux4-encrypt encrypt --secret "e85fd3a1f57b6d445e4bf077a9239ba74f0c6a6f07dde6a14ca0043240a2b4eeaf7159ae3d3872825940c2d3e02f081f" --text "Hello World"

From environment variable

export AUX4_SECRET_KEY=e85fd3a1f57b6d445e4bf077a9239ba74f0c6a6f07dde6a14ca0043240a2b4eeaf7159ae3d3872825940c2d3e02f081f

$ aux4-encrypt encrypt --text "Hello World"

Decrypt

Using parameter

$ aux4-encrypt decrypt --token "ea776229343c22471b5a1f8876ab605a96e7c81a9429014b6ebb777323426117bbdcf82a5f4ad5fc3077dece9a24b80ec698e640b0fbb90aede4d4e35eed8c9cf90f14ccb71441abb9c3bf7a13cca98bb846aee199efec26f33e1ef4f1c5fbbbc64d4b5746066174bf3196"

Hello World

From file

$ cat token.txt | aux4-encrypt decrypt

Hello World

Using custom secret

From parameter

$ aux4-encrypt decrypt --secret "e85fd3a1f57b6d445e4bf077a9239ba74f0c6a6f07dde6a14ca0043240a2b4eeaf7159ae3d3872825940c2d3e02f081f" --token "5bf94d4b2b0ed4bb9c3ed57b68aa820e501be48a101482eb30076c9ea93d617b6f0de423b65401c6acbf5b0ae3b5680b343a4e82e2ca8657f83999c05e7d9a4b316cf66e5636e3dbf18ddf42ee0d23bca8b9df28413c6e824b66ca5c6eeddc5081ceac72edf92f6741e82f0c99857cb98a8f5384623d123da9a55096c86962"

From environment variable

export AUX4_SECRET_KEY=e85fd3a1f57b6d445e4bf077a9239ba74f0c6a6f07dde6a14ca0043240a2b4eeaf7159ae3d3872825940c2d3e02f081f

$ aux4-encrypt decrypt --token "5bf94d4b2b0ed4bb9c3ed57b68aa820e501be48a101482eb30076c9ea93d617b6f0de423b65401c6acbf5b0ae3b5680b343a4e82e2ca8657f83999c05e7d9a4b316cf66e5636e3dbf18ddf42ee0d23bca8b9df28413c6e824b66ca5c6eeddc5081ceac72edf92f6741e82f0c99857cb98a8f5384623d123da9a55096c86962"