赛派号

fion是什么品牌 Random String Generator (Password)

Random Password/String Generator Compute File Hash Base64 Binary Files Merge Video and Files Photo Drawing/Sketch Style Image to ASCII Converter QR Image Reader Images Compressor APIs APIs from Image Sharer Ajax MD5 Hash Calculator Online Hash Calculator for Strings using Different Algorithms VMProtect Hardware ID Decoder ROT47 Character Substitution Cipher ROT13 Letter/ROT5 Digit Substitution Cipher CRC32 Calculator Arbitrary Base Number Converter PIBAS Interpreter Make URL Shorter What is my screen resolution? Online VBScript Obfuscator Unlimited GUID Generator with API HTML5 RGB Color Pickers/Table Random String/Password Generator Ajax Unicode String to ASCII List of All APIs Online Crontab Line Generator Markdown Parser with API Unix Timestamp Converter URL Percent Encoding/Decoding Obtain Shop-Item Data Simple Snake Game CoinTools - Cryptocurrency Lookup Steem Tools JobTools - Job Seeking Logo Turtle Programming Show My IP Addresses (External and Local) Simplified/Traditional Chinese Simple Video Download Helper Offline QR Code Generator/Editor Simple Snake Game in Jascript Poker 24 pointer calculator Online Video Streaming Video Download Tool Unlimited Maze Games Bing Everyday Wallpaper Fortune-Teller Calendar Random Identity Generator Gregorian/Discordian Converter Cowsay/CowThink Sex Equation Figlet Toilet Banner MPG Calculator Mortgage Calculator Chinese Converter (Pinyin, Cantonese and Mandarin) Pinyin API Romans/Arabic Converter with API Simple Function Plot Pi Digits Lookup Number Factorization Tool with API Arabic Numerals to English Online CURL htpasswd File Generator URL Status Checke Parse User Agent String Ping a Host/Domain Get IP Address IPv4 Calculator API Usage Example Rate Limit in PHP Web Services Buy Me A Coffee

This page calls the API to generate a random string for password purposes.

API (Application Programming Interface)

Please contact for details - as this API is being DDOS-ed in the past and I cannot afford this.

The API may return JSON-encoded data (random): "KeUkcwjdBIrmgEzvKOlRuNKowAfgngeyLyjnuSRwaIjHNiDXxoprBzgyALfnsKmDIVqDnHAOQjVeRZBOOqGQqmPqyueqEQtNlkRZrRnIBJmSjohxfnNVacMYXqOcHIpt" Parameter n is the length of the output string. Parameter x specifies the mask, where bit 1 = upper case, bit 2 = lower case, bit 4 = digits and bit 8 = special characters. Serverless API for Generating Random Data

The Random API is implemented as a CloudFlare Serverless Function which runs on the CloudFlare Edge Network Nodes. You may implement one and host it on cloudflare's Free-Tier worker plan (10M per day).

Complete API Source Code (PHP) function generateRandomString($length, $bitmask) { $uppercase = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; $lowercase = 'abcdefghijklmnopqrstuvwxyz'; $numbers = '0123456789'; $special = '[email protected]#$%^&*(){}[],./?'; $characters = ''; if ($bitmask & 1) { $characters .= $uppercase; } if ($bitmask & 2) { $characters .= $lowercase; } if ($bitmask & 4) { $characters .= $numbers; } if ($bitmask & 8) { $characters .= $special; } if (!$characters) { $characters = $uppercase . $lowercase; } $charactersLength = strlen($characters); $randomString = ''; for ($i = 0; $i < $length; $i++) { $randomString .= $characters[rand(0, $charactersLength - 1)]; } return $randomString; } $x = 0; if (isset($_GET['x'])) { $x = (integer)$_GET['x']; } $n = 32; if (isset($_GET['n'])) { $n = (integer)$_GET['n']; if ($n < 1) { $n = 32; } } $data = generateRandomString($n, $x); header("Access-Control-Allow-Origin: *"); header('Content-Type: application/json'); die(json_encode($data)); Share: List of Many Other Online Tools

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了