# Functions
Base58Decode decodes Base58-encoded data.
Base58Encode encodes a byte array to Base58.
No description provided by the author
CreateNewNoteBook creates a NoteBook for userName.
DecryptString decodes `source` with gob.
DeserializeNote decodes bytes to Note.
EncryptString encodes `source` with gob.
FormatTimestamp transform timestamp to formatted time string.
No description provided by the author
No description provided by the author
GetAppHome ...
GetAppName ...
GetDbBucketName returns default bucket name for a notebook.
GetDbFilePath returns the notebook path for userName.
GetDbHeadKey ...
GetDbTailKey ...
GetHeadDefaultContent returns content for the first note generated by system.
GetHeadNote returns a Note with default `headContent`.
GetNoteBook return userName's NoteBook.
GetPrivateKeyName ...
No description provided by the author
GetPrvKey returns userName's private key.
GetPubKey returns userName's public key.
GetPubKeyName ...
No description provided by the author
GetTailDefaultContent returns content for the last note generated by system.
GetTailNote return a Note with default `tailContent`.
GetVersion ...
NewNote returns a `Note` object with `content` and `timestamp`.
No description provided by the author
RSADecrypt decrypt encrypted data with private key.
RSADecryptWithPwd decrypt src with private key and password.
RSAEncrypt use publicKey to encrypt source data.
RSAGenKey generate rsa key pair.
-------------------------------- RSAGenKeyWithPwd generate rsa pair key with specified password.
StringToBytes change str to bytes without malloc.