ldap-passwords
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"hash": "cea8a00d", | ||
"configHash": "48403266", | ||
"lockfileHash": "7e6b7786", | ||
"browserHash": "f22bd65d", | ||
"hash": "711357ed", | ||
"configHash": "5a8f2016", | ||
"lockfileHash": "fec3942e", | ||
"browserHash": "8c6d6124", | ||
"optimized": { | ||
"vue": { | ||
"src": "../../../../node_modules/.pnpm/vue@3.4.8_typescript@5.3.3/node_modules/vue/dist/vue.runtime.esm-bundler.js", | ||
"src": "../../../../node_modules/.pnpm/vue@3.4.14_typescript@5.3.3/node_modules/vue/dist/vue.runtime.esm-bundler.js", | ||
"file": "vue.js", | ||
"fileHash": "b0704eb2", | ||
"fileHash": "b1b06806", | ||
"needsInterop": false | ||
@@ -16,15 +16,15 @@ }, | ||
"file": "vitepress___@vue_devtools-api.js", | ||
"fileHash": "3290a909", | ||
"fileHash": "85373c6f", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/core": { | ||
"src": "../../../../node_modules/.pnpm/@vueuse+core@10.7.1_vue@3.4.8/node_modules/@vueuse/core/index.mjs", | ||
"src": "../../../../node_modules/.pnpm/@vueuse+core@10.7.2_vue@3.4.14/node_modules/@vueuse/core/index.mjs", | ||
"file": "vitepress___@vueuse_core.js", | ||
"fileHash": "af4084ff", | ||
"fileHash": "b25a0986", | ||
"needsInterop": false | ||
}, | ||
"vitepress > @vueuse/integrations/useFocusTrap": { | ||
"src": "../../../../node_modules/.pnpm/@vueuse+integrations@10.7.1_focus-trap@7.5.4_vue@3.4.8/node_modules/@vueuse/integrations/useFocusTrap.mjs", | ||
"src": "../../../../node_modules/.pnpm/@vueuse+integrations@10.7.2_focus-trap@7.5.4_vue@3.4.14/node_modules/@vueuse/integrations/useFocusTrap.mjs", | ||
"file": "vitepress___@vueuse_integrations_useFocusTrap.js", | ||
"fileHash": "6d1ef2d3", | ||
"fileHash": "0c6f2936", | ||
"needsInterop": false | ||
@@ -35,3 +35,3 @@ }, | ||
"file": "vitepress___mark__js_src_vanilla__js.js", | ||
"fileHash": "7979e9e2", | ||
"fileHash": "ee41ffee", | ||
"needsInterop": false | ||
@@ -42,9 +42,9 @@ }, | ||
"file": "vitepress___minisearch.js", | ||
"fileHash": "55b2012c", | ||
"fileHash": "c47c0d12", | ||
"needsInterop": false | ||
}, | ||
"ldap-md5": { | ||
"src": "../../../../node_modules/.pnpm/ldap-md5@1.0.2/node_modules/ldap-md5/dist/index.js", | ||
"file": "ldap-md5.js", | ||
"fileHash": "0c06b89a", | ||
"@vercel/analytics": { | ||
"src": "../../../../node_modules/.pnpm/@vercel+analytics@1.1.1/node_modules/@vercel/analytics/dist/index.js", | ||
"file": "@vercel_analytics.js", | ||
"fileHash": "57c3898e", | ||
"needsInterop": false | ||
@@ -54,12 +54,9 @@ } | ||
"chunks": { | ||
"chunk-LBTOXC7N": { | ||
"file": "chunk-LBTOXC7N.js" | ||
"chunk-AJSOBZTJ": { | ||
"file": "chunk-AJSOBZTJ.js" | ||
}, | ||
"chunk-LJ2W4O4M": { | ||
"file": "chunk-LJ2W4O4M.js" | ||
}, | ||
"chunk-LQ2VYIYD": { | ||
"file": "chunk-LQ2VYIYD.js" | ||
"chunk-UASK3DFV": { | ||
"file": "chunk-UASK3DFV.js" | ||
} | ||
} | ||
} |
@@ -1,3 +0,1 @@ | ||
import "./chunk-LQ2VYIYD.js"; | ||
// node_modules/.pnpm/@vue+devtools-api@6.5.1/node_modules/@vue/devtools-api/lib/esm/env.js | ||
@@ -4,0 +2,0 @@ function getDevtoolsGlobalHook() { |
@@ -274,5 +274,4 @@ import { | ||
whenever | ||
} from "./chunk-LBTOXC7N.js"; | ||
import "./chunk-LJ2W4O4M.js"; | ||
import "./chunk-LQ2VYIYD.js"; | ||
} from "./chunk-AJSOBZTJ.js"; | ||
import "./chunk-UASK3DFV.js"; | ||
export { | ||
@@ -279,0 +278,0 @@ DefaultMagicKeysAliasMap, |
import { | ||
tryOnScopeDispose, | ||
unrefElement | ||
} from "./chunk-LBTOXC7N.js"; | ||
} from "./chunk-AJSOBZTJ.js"; | ||
import { | ||
ref, | ||
watch | ||
} from "./chunk-LJ2W4O4M.js"; | ||
import "./chunk-LQ2VYIYD.js"; | ||
} from "./chunk-UASK3DFV.js"; | ||
@@ -1024,3 +1023,3 @@ // node_modules/.pnpm/tabbable@6.2.0/node_modules/tabbable/dist/index.esm.js | ||
// node_modules/.pnpm/@vueuse+integrations@10.7.1_focus-trap@7.5.4_vue@3.4.8/node_modules/@vueuse/integrations/useFocusTrap.mjs | ||
// node_modules/.pnpm/@vueuse+integrations@10.7.2_focus-trap@7.5.4_vue@3.4.14/node_modules/@vueuse/integrations/useFocusTrap.mjs | ||
function useFocusTrap(target, options = {}) { | ||
@@ -1027,0 +1026,0 @@ let trap; |
@@ -1,3 +0,1 @@ | ||
import "./chunk-LQ2VYIYD.js"; | ||
// node_modules/.pnpm/mark.js@8.11.1/node_modules/mark.js/src/lib/domiterator.js | ||
@@ -4,0 +2,0 @@ var DOMIterator = class _DOMIterator { |
@@ -161,4 +161,3 @@ import { | ||
withScopeId | ||
} from "./chunk-LJ2W4O4M.js"; | ||
import "./chunk-LQ2VYIYD.js"; | ||
} from "./chunk-UASK3DFV.js"; | ||
export { | ||
@@ -165,0 +164,0 @@ BaseTransition, |
@@ -14,3 +14,2 @@ import { defineConfig } from 'vitepress' | ||
items: [ | ||
{ text: 'What is Ldap-passwords?', link: '/guide/what-is' }, | ||
{ text: 'Getting Started', link: '/guide/' }, | ||
@@ -17,0 +16,0 @@ ], |
@@ -44,3 +44,2 @@ import { defineConfig } from 'vitepress' | ||
items: [ | ||
{ text: 'Oque é Ldap-passwords?', link: '/pt/guide/what-is' }, | ||
{ text: 'Começando', link: '/pt/guide/' }, | ||
@@ -47,0 +46,0 @@ ], |
@@ -5,4 +5,8 @@ import theme from 'vitepress/theme' | ||
import { inject } from '@vercel/analytics' | ||
inject() | ||
export default { | ||
...theme, | ||
} |
# Getting Started | ||
::: info | ||
Under Construction | ||
::: | ||
**Welcome to the documentation for the ldap-passwords package, a collection of tools for generating LDAP password hashes using various algorithms. This package includes two sub-packages: ldap-md5 and ldap-sha512. You have the flexibility to either install the combined package or choose specific algorithms based on your requirements.** | ||
## Option 1: Install ldap-passwords (Includes everything) | ||
Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-passwords` | ||
- npm : `npm i ldap-passwords` | ||
- yarn : `yarn add ldap-passwords` | ||
- bun : `bun add ldap-passwords` | ||
## Option 2: Install individual packages | ||
### SHA512 | ||
Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-sha512` | ||
- npm : `npm i ldap-sha512` | ||
- yarn : `yarn add ldap-sha512` | ||
- bun : `bun add ldap-sha512` | ||
### MD5 | ||
Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-md5` | ||
- npm : `npm i ldap-md5` | ||
- yarn : `yarn add ldap-md5` | ||
- bun : `bun add ldap-md5` |
@@ -7,18 +7,10 @@ # md5 | ||
## 🚀 Setup | ||
1. Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-md5` | ||
- npm : `npm i ldap-md5` | ||
- yarn : `yarn add ldap-md5` | ||
- bun : `bun add ldap-md5` | ||
2. Import the function into your project: | ||
## 1. Import the function into your project: | ||
```ts | ||
import { md5 } from 'ldap-passwords' | ||
// OR | ||
import { md5 } from 'ldap-md5' | ||
``` | ||
## ⚡️ Usage | ||
1. Encrypt a plain text password using md5: | ||
## 2. Encrypt a plain text password using md5: | ||
```ts | ||
@@ -25,0 +17,0 @@ const encryptedPassword = md5('mySuperSecretPassword') |
# sha512Crypt | ||
## 🚀 Setup | ||
1. Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-sha512` | ||
- npm : `npm i ldap-sha512` | ||
- yarn : `yarn add ldap-sha512` | ||
- bun : `bun add ldap-sha512` | ||
2. Import the function into your project: | ||
## 1. Import the function into your project: | ||
```ts | ||
import { sha512Crypt } from 'ldap-passwords' | ||
// OR | ||
import { sha512Crypt } from 'ldap-sha512' | ||
``` | ||
## ⚡️ Usage | ||
1. Encrypt a plain text password using sha512 and a random salt: | ||
## 2. Encrypt a plain text password using sha512 and a random salt: | ||
```ts | ||
@@ -24,3 +16,3 @@ const encryptedPassword = sha512Crypt('mySuperSecretPassword') | ||
2. Encrypt a plain text password using sha512 and a custom salt:\ | ||
## 3. Encrypt a plain text password using sha512 and a custom salt: | ||
**The maximum length of salt is 16 characters** | ||
@@ -27,0 +19,0 @@ ```ts |
@@ -7,18 +7,10 @@ # verifyMD5 | ||
## 🚀 Setup | ||
1. Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-md5` | ||
- npm : `npm i ldap-md5` | ||
- yarn : `yarn add ldap-md5` | ||
- bun : `bun add ldap-md5` | ||
2. Import the function into your project: | ||
## 1. Import the function into your project: | ||
```ts | ||
import { verifyMD5 } from 'ldap-passwords' | ||
// OR | ||
import { verifyMD5 } from 'ldap-md5' | ||
``` | ||
## ⚡️ Usage | ||
1. Validate your plain text password with a MD5 encrypted password:\ | ||
## 2. Validate your plain text password with a MD5 encrypted password: | ||
**The MD5 password can be either a single string or an array of strings. The plain text password will be compared to each MD5 password and the function will return true if any of them matches** | ||
@@ -25,0 +17,0 @@ ```ts |
# verifySha512 | ||
## 🚀 Setup | ||
1. Install with your favorite package manager: | ||
- **pnpm** : `pnpm i ldap-sha512` | ||
- npm : `npm i ldap-sha512` | ||
- yarn : `yarn add ldap-sha512` | ||
- bun : `bun add ldap-sha512` | ||
2. Import the function into your project: | ||
## 1. Import the function into your project: | ||
```ts | ||
import { verifySha512 } from 'ldap-passwords' | ||
// OR | ||
import { verifySha512 } from 'ldap-sha512' | ||
``` | ||
## ⚡️ Usage | ||
1. Validate your plain text password with a sha512 encrypted password:\ | ||
## 2. Validate your plain text password with a sha512 encrypted password: | ||
**The sha512 password can be either a single string or an array of strings. The plain text password will be compared to each sha512 password and the function will return true if any of them matches** | ||
@@ -20,0 +12,0 @@ ```ts |
# Começando | ||
::: info | ||
Em Construção | ||
::: | ||
**Bem-vindo à documentação do pacote ldap-passwords, uma coleção de ferramentas para gerar hashes de senhas LDAP usando vários algoritmos. Este pacote inclui dois subpacotes: ldap-md5 e ldap-sha512. Você tem a flexibilidade de instalar o pacote combinado ou escolher algoritmos específicos com base em seus requisitos.** | ||
## Opção 1: Instale ldap-passwords (Inclui tudo) | ||
Instale com seu gerenciador de pacotes favorito: | ||
- **pnpm** : `pnpm i ldap-passwords` | ||
- npm : `npm i ldap-passwords` | ||
- yarn : `yarn add ldap-passwords` | ||
- bun : `bun add ldap-passwords` | ||
## Opção 2: Instale pacotes individuais | ||
### SHA512 | ||
Instale com seu gerenciador de pacotes favorito: | ||
- **pnpm** : `pnpm i ldap-sha512` | ||
- npm : `npm i ldap-sha512` | ||
- yarn : `yarn add ldap-sha512` | ||
- bun : `bun add ldap-sha512` | ||
### MD5 | ||
Instale com seu gerenciador de pacotes favorito: | ||
- **pnpm** : `pnpm i ldap-md5` | ||
- npm : `npm i ldap-md5` | ||
- yarn : `yarn add ldap-md5` | ||
- bun : `bun add ldap-md5` |
@@ -7,18 +7,10 @@ # md5 | ||
## 🚀 Configuração | ||
1. Importe a função para seu projeto: | ||
- **pnpm** : `pnpm i ldap-md5` | ||
- npm : `npm i ldap-md5` | ||
- yarn : `yarn add ldap-md5` | ||
- bun : `bun add ldap-md5` | ||
2. Importe a função para seu projeto: | ||
## 1. Importe a função para seu projeto: | ||
```ts | ||
import { md5 } from 'ldap-passwords' | ||
// OR | ||
import { md5 } from 'ldap-md5' | ||
``` | ||
## ⚡️ Uso | ||
1. Criptografe uma senha de texto simples para MD5: | ||
## 2. Criptografe uma senha de texto simples para MD5: | ||
```ts | ||
@@ -25,0 +17,0 @@ const encryptedPassword = md5('mySuperSecretPassword') |
# sha512Crypt | ||
## 🚀 Configuração | ||
1. Instale com seu gerenciador de pacotes favorito: | ||
- **pnpm** : `pnpm i ldap-sha512` | ||
- npm : `npm i ldap-sha512` | ||
- yarn : `yarn add ldap-sha512` | ||
- bun : `bun add ldap-sha512` | ||
2. Importe a função para seu projeto: | ||
## 1. Importe a função para seu projeto: | ||
```ts | ||
import { sha512Crypt } from 'ldap-passwords' | ||
// OR | ||
import { sha512Crypt } from 'ldap-sha512' | ||
``` | ||
## ⚡️ Uso | ||
1. Criptografe uma senha de texto simples para sha512 com um salt aleatório: | ||
## 2. Criptografe uma senha de texto simples para sha512 com um salt aleatório: | ||
```ts | ||
@@ -24,3 +16,3 @@ const encryptedPassword = sha512Crypt('mySuperSecretPassword') | ||
2. Criptografe uma senha de texto simples para sha512 com um salt personalizado::\ | ||
## 3. Criptografe uma senha de texto simples para sha512 com um salt personalizado: | ||
**O tamanho máximo do salt é de 16 caracteres** | ||
@@ -27,0 +19,0 @@ ```ts |
@@ -7,18 +7,10 @@ # verifyMD5 | ||
## 🚀 Configuração | ||
1. Importe a função para seu projeto: | ||
- **pnpm** : `pnpm i ldap-md5` | ||
- npm : `npm i ldap-md5` | ||
- yarn : `yarn add ldap-md5` | ||
- bun : `bun add ldap-md5` | ||
2. Importe a função para seu projeto: | ||
## 1. Importe a função para seu projeto: | ||
```ts | ||
import { verifyMD5 } from 'ldap-passwords' | ||
// OR | ||
import { verifyMD5 } from 'ldap-md5' | ||
``` | ||
## ⚡️ Uso | ||
1. Valide sua senha em texto simples com uma senha criptografada MD5:\ | ||
## 2. Valide sua senha em texto simples com uma senha criptografada MD5: | ||
**A senha MD5 pode ser uma única string ou um array de strings. A senha em texto simples será comparada com cada senha sha512 e a função retornará true se alguma delas corresponder** | ||
@@ -25,0 +17,0 @@ ```ts |
# verifySha512 | ||
## 🚀 Configuração | ||
1. Instale com seu gerenciador de pacotes favorito: | ||
- **pnpm** : `pnpm i ldap-sha512` | ||
- npm : `npm i ldap-sha512` | ||
- yarn : `yarn add ldap-sha512` | ||
- bun : `bun add ldap-sha512` | ||
2. Importe a função para seu projeto: | ||
## 1. Importe a função para seu projeto: | ||
```ts | ||
import { verifySha512 } from 'ldap-passwords' | ||
// OR | ||
import { verifySha512 } from 'ldap-sha512' | ||
``` | ||
## ⚡️ Usage | ||
1. Valide sua senha em texto simples com uma senha criptografada sha512:\ | ||
## 2. Valide sua senha em texto simples com uma senha criptografada sha512: | ||
**A senha sha512 pode ser uma única string ou um array de strings. A senha em texto simples será comparada com cada senha sha512 e a função retornará true se alguma delas corresponder** | ||
@@ -20,0 +12,0 @@ ```ts |
{ | ||
"name": "ldap-passwords", | ||
"type": "module", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "ldap-passwords offers secure password hashing and verification using LDAP password algorithms.", | ||
@@ -40,7 +40,7 @@ "author": { | ||
"@types/node": "^20.11.4", | ||
"@vercel/analytics": "^1.1.1", | ||
"eslint": "^8.56.0", | ||
"typescript": "^5.3.3", | ||
"vitepress": "1.0.0-rc.39", | ||
"vitest": "^1.2.0" | ||
"vitepress": "1.0.0-rc.39" | ||
} | ||
} |
@@ -10,3 +10,3 @@ <a href="http://ldap-passwords.com/"> | ||
<a href="https://github.com/dethdkn/ldap-passwords/blob/main/LICENSE"> | ||
<img src="https://img.shields.io/github/license/dethdkn/ldap-sha512?color=%233da639&logo=open%20source%20initiative" alt="License"/> | ||
<img src="https://img.shields.io/github/license/dethdkn/ldap-passwords?color=%233da639&logo=open%20source%20initiative" alt="License"/> | ||
</a> | ||
@@ -13,0 +13,0 @@ <a href="https://gitmoji.dev"> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2427182
26408
53
3