Liking cljdoc? Tell your friends :D

yuhrao.data-cloak.core.string


allclj

(all s)

Obscure the whole string. Useful for passwords

Obscure the whole string. Useful for passwords
raw docstring

emailclj

(email s)
Obscure an email. Examples:
- some.email@gmail.com -> so******il@gmail.com
- small@gmail.com -> s****@gmail.com
- bob@gmail.com -> b**@gmail.com
raw docstring

offsetclj

(offset s opts)

Given a string, obscure all the string content from start+<start-offset> to end-<end-offset> opts:

  • :start: amount of chars at the beginning of the string to not be obscured
  • :end: amount of chars at the end of the string to not be obscured
Given a string, obscure all the string content from start+<start-offset> to end-<end-offset>
opts:
- `:start`: amount of chars at the beginning of the string to not be obscured
- `:end`: amount of chars at the end of the string to not be obscured
raw docstring

phoneclj

(phone s)

Obscure a phone number. It removes phone number's specific special characters such as ()+ and white spaces

Obscure a phone number. It removes phone number's specific special characters
such as `()+` and white spaces
raw docstring

symmetric-offsetclj

(symmetric-offset s n)

Same as offset but :start and :end are equal

Same as `offset` but `:start` and `:end` are equal
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close