Rewritting the class comentary.
This commit is contained in:
parent
0d6ca98070
commit
1520965853
@ -1,5 +1,17 @@
|
|||||||
|
"
|
||||||
|
I'm run an implementation of the [Nano ID](https://github.com/ai/nanoid) tiny, secure URL-friendly unique string ID generator via its [Nim implementation](https://github.com/icyphox/nanoid.nim).
|
||||||
|
|
||||||
|
I have hard coded:
|
||||||
|
|
||||||
|
* a [base 58 encoding](https://medium.com/concerning-pharo/understanding-base58-encoding-23e673e37ff6) alphabet to avoid similar looking letter and the use of non-alphanumeric characters.
|
||||||
|
"
|
||||||
Class {
|
Class {
|
||||||
#name : #NanoID,
|
#name : #NanoID,
|
||||||
#superclass : #Object,
|
#superclass : #Object,
|
||||||
#category : #'MiniDocs-MiniDocs'
|
#category : #'MiniDocs-MiniDocs'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
NanoID class >> scriptSourceCode [
|
||||||
|
^ FileLocator image parent / 'pharo-local/iceberg/Offray/MiniDocs/src/nanoIdGen.nim'
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user