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 🙏

© 2026 – Pkg Stats / Ryan Hefner

orapass

v0.1.1

Published

A small library for generating Oracle database password hashes

Readme

orapass

orapass is a simple module for generating password hashed for Oracle database versions 10g, 11g, and 12c. It also includes utility methods for generating the ALTER statements necessary for setting said hashes in the database.

Example

const orapass = require('orapass');
orapass
  .twelve('auser', 'andpassword')
  .then((hash) => console.log(hash));

Methods

  • ten(username, password) -- a synchronous method that returns the most basic Oracle password hash supported.
  • eleven(password) -- returns a Promise with its resolved value set to an Oracle 11g password hash.
  • twelve(username, password, r2) -- returns a Promise with its resolved value set to an Oracle 12c password hash. By default, the hash is compatible with 12cR2 and later. If you want to support 12cR1, then supply false for the r2 parameter; otherwise it isn't necessary.
  • alterTen(username, password) -- generates an Oracle 10g password hash and then returns an SQL statement that will set the password for the given user.
  • alterEleven(username, password) -- generates an Oracle 11g password hash and then returns a Promise with its resolved value being an SQL statement to set the password for the given user.
  • alterTenEleven(username, password) -- generates both Oracle 10g and 11g password hashes and then returns a Promise with its resolved value set to an SQL statement that will set the password for the given user.
  • alterTenTwelve(username, password, r2) -- generates both Oracle 10g and 12c password hashes and then returns a Promise with its resolved value set to an SQL statement that will set the password for the given user. Note: if you specify false for r2 then you will get a statement that contains all hashes: 10g, 11g, and 12c.

License

MIT License