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

@uireact/crypto

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uireact/crypto

UiEncrypter for AES encryptions

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

@UiReact tools

UiReact icon

These are a set of tools that we created and are exported as part of the @uireact library, these tools doesn't need the foundation / view packages to work as they don't export UI, instead are helper functions that could work on any React/Typescript project.

@uireact/crypto

This package exports 2 functions a encrypter and decrypter function.

For the full documentation you can visit @uireact/crypto.

Usage

Just call UiAESEncrypter with the phrase to be encrypted and the code, then use UiAESDecrypter to get the phrase back.

import { UiAESEncrypter, UiAESDecrypter } from '@uireact/crypto';

const toBeEncrypted = "Whatever-I-want-encrypted";
const code = "1234";

const encrypted = UiAESEncrypter(toBeEncrypted, code);
// U2FsdGVkX1/x4zehLGF+up3a+Ig9i3pOPwgrgzunTDQq/XmJhTOQzdFXakRbc5k3

const decrypted = UiAESDecrypter(encrypted, code);
// Whatever-I-want-encrypted

What is @UiReact library?

This is a library of React components and helper functions, that help speed up React development by structuring a theme for application styling and providing a lot of ready to use components.

You should visit our docs page for all information @uireact docs.

FAQs

Package last updated on 15 May 2025

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