Added support for phonetic key naming

Closes #7
This commit is contained in:
John Crepezzi
2012-01-07 11:35:11 -05:00
parent a958c66249
commit cc65e98940
6 changed files with 87 additions and 13 deletions

View File

@@ -38,6 +38,32 @@ which will output a URL to share containing the contents of `cat something`'s ST
* `documents` - static documents to serve (ex: http://hastebin.com/about.com) in addition to static assets. These will never expire.
* `storage` - storage options (see below)
* `logging` - logging preferences
* `keyGenerator` - key generator options (see below)
## Key Generation
### Phonetic
Attempts to generate phonetic keys, similar to `pwgen`
``` json
{
"type": "phonetic"
}
```
### Random
Generates a random key
``` json
{
"type": "random",
"keyspace": "abcdef"
}
```
The _optional_ keySpace argument is a string of acceptable characters for the key.
## Storage
@@ -94,4 +120,4 @@ THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR I
### Other components:
* jQuery: MIT/GPL license
* highlight.js: Copyright © 2006, Ivan Sagalaev
* highlight.js: Copyright © 2006, Ivan Sagalaev