passwordrandom: Access the PasswordRandom.com API in R

PasswordRandom.comのAPIを利用する

> library(passwordrandom)

バージョン: 0.0.0.9000


関数名 概略
passwordrandom Use the PasswordRandom.com API
random_chars Generate random characters
random_doubles Generate random doubles
random_guids Generate random guids
random_ints Generate random integers
random_passwords Generate random passwords

random_chars

ランダムな文字列を生成

Arguments

  • count
  • fmt... フォーマット。ulは大文字と小文字を混ぜる。uは大文字のみ、lで小文字のみ
> random_chars(count = 10, fmt = "ul")
 [1] "K" "p" "E" "V" "Q" "Q" "C" "d" "k" "v"

random_doubles

> random_doubles(count = 5, min = 0, max = 100)
[1] 34.9206 59.8281 46.1330 22.4020 75.9428

random_guids

> random_guids()
 [1] "ec05ee24-edfb-49a5-b508-f8e70969b6f1"
 [2] "8a218d53-9cd7-490e-be1f-70ff16309024"
 [3] "1e55dfc0-f1e0-4e4c-8670-30e7f238ba46"
 [4] "f620d389-ec88-464c-9596-07d15152ee5b"
 [5] "676410d8-35b6-4234-9aa2-3bb99ea626da"
 [6] "578ed42e-0219-441e-b764-66182759b958"
 [7] "be594bee-5edd-4c38-8104-f44bdc169ef1"
 [8] "fda19eeb-efc1-4f2c-80cb-69413b16aec3"
 [9] "f1ffa592-b183-40f7-88fc-0581335d34b8"
[10] "f0fad492-ce27-40be-ae63-440d27cbc996"

random_ints

> random_ints()
 [1] 88 64 70 34 79  0 93 21 14 38

random_passwords

> random_passwords(count = 10, scheme = "CvvCVN#NNcc")
 [1] "JiuLE7~93zh" "FuuMI7}58nk" "WiaTY1#21nn" "RyaQA5@62vm" "JyiQE5)37rj"
 [6] "ZoeKO8?71vs" "QayJU7$32jn" "KaaLE8[87tw" "JyoJU9^74rq" "QeeSY7]23lb"