AscyEncr

No algorithm description given

AscyEncr produces up to five strings of cryptographical randomness  that can be used for passwords. numerical and   scientific applications, research and general exploration . The current limit of string production is 1 to 5,  character lengths of 1 to 20, and character types classified into 19 groups.              T0 generate strings, enter input as a string in this form,  "integerX space integerY space integerZ", where X is the number of strings, Y is the length of strings, Z is the character type of the strings. X range is 1..5  Y range is 1..20  Z range is 1..19 Z is determined by these character ranges below. for example, if Z= 3, then the random strings will only contain the lowercase letters from 'a' to 'z', and the uppercase letters from 'A to Z' and a resulting string may look like 'DkkfmOSqadn'. Let's look at if Z = 15 :  The resulting strings may look like ' 7[Ng2sP$'. The characters used to fill the random strings are drawn from lowercase letters 'a' to 'z', uppercase letters 'A' to 'Z', numbers from '0' to '9', and special characters represented by $, and are '!#$%&()*+,-.:;<=>?@[]^_{|}~' 1. a..z,     2. A..Z,     3. a..z,A..Z,     4. 0..9,      5. a..z,0..9,     6. A..Z,0..9,      7. a..z,A..Z.0..9,     8. $    9. a..z,$      10. A..Z,$      11. a..z,A..Z,$                   12. 0..9,$     13. a..z,0..9,$      14. A..Z,0..9,$      15. a..z,A..Z,0..9,$     16. 0..9,a..f    17. 0..9,A..F     18. 0..7      19. 0..1 Note:  There character ranges that are of particular interest:  Range 4 is just integers from '0' to '9'; 16, 17 is a range of hex numbers from lowercase '0' to 'f' , and uppercase '0' to 'F' ; 18 is octal from '0' to '7' ; 19 is binary '0' and '1' .                                       Note: There is a fair amount of error detection programmed into AscyEncr. The input string must be exact, or AcyEncr will output a list object with an error string as the first element of the list. Now,, we are ready to try some some input strings... -> Enter the string with out the quotes ... "5 20 15" Press RUN button The result appears in the output box in a List format - each string object is an element of one List object. -> Erase the previous string and enter "3 15 19" Press RUN button The output is 3 binary strings of 15 characters each -> Erase the previous string and enter "02 k 2" Press RUN button The output is list with one string as the first element. This is an error string telling you that the input string is an incorrect format. The format is the following string:  "integer space integer space integer" or "2 2 2"  - no commas or other characters allowed. You have more to try ....success! +

Tags
(no tags)

Cost Breakdown

10 cr
royalty per call
1 cr
usage per second
avg duration

Cost Calculator

API call duration (sec)
×
API calls
=
Estimated cost
per calls
for large volume discounts
For additional details on how pricing works, see Algorithmia pricing.

No permissions required

This algorithm does not require any special permissions.


To understand more about how algorithm permissions work, see the permissions documentation.

1. Type your input

2. See the result

Running algorithm...

3. Use this algorithm

curl -X POST -d '{{input | formatInput:"curl"}}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/davealgdev/AscyEncr/0.2.0
View cURL Docs
algo auth
# Enter API Key: YOUR_API_KEY
algo run algo://davealgdev/AscyEncr/0.2.0 -d '{{input | formatInput:"cli"}}'
View CLI Docs
import com.algorithmia.*;
import com.algorithmia.algo.*;

String input = "{{input | formatInput:"java"}}";
AlgorithmiaClient client = Algorithmia.client("YOUR_API_KEY");
Algorithm algo = client.algo("algo://davealgdev/AscyEncr/0.2.0");
AlgoResponse result = algo.pipeJson(input);
System.out.println(result.asJsonString());
View Java Docs
import com.algorithmia._
import com.algorithmia.algo._

val input = {{input | formatInput:"scala"}}
val client = Algorithmia.client("YOUR_API_KEY")
val algo = client.algo("algo://davealgdev/AscyEncr/0.2.0")
val result = algo.pipeJson(input)
System.out.println(result.asJsonString)
View Scala Docs
var input = {{input | formatInput:"javascript"}};
Algorithmia.client("YOUR_API_KEY")
           .algo("algo://davealgdev/AscyEncr/0.2.0")
           .pipe(input)
           .then(function(output) {
             console.log(output);
           });
View Javascript Docs
var input = {{input | formatInput:"javascript"}};
Algorithmia.client("YOUR_API_KEY")
           .algo("algo://davealgdev/AscyEncr/0.2.0")
           .pipe(input)
           .then(function(response) {
             console.log(response.get());
           });
View NodeJS Docs
import Algorithmia

input = {{input | formatInput:"python"}}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('davealgdev/AscyEncr/0.2.0')
print algo.pipe(input)
View Python Docs
library(algorithmia)

input <- {{input | formatInput:"r"}}
client <- getAlgorithmiaClient("YOUR_API_KEY")
algo <- client$algo("davealgdev/AscyEncr/0.2.0")
result <- algo$pipe(input)$result
print(result)
View R Docs
require 'algorithmia'

input = {{input | formatInput:"ruby"}}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('davealgdev/AscyEncr/0.2.0')
puts algo.pipe(input).result
View Ruby Docs
use algorithmia::*;

let input = {{input | formatInput:"rust"}};
let client = Algorithmia::client("YOUR_API_KEY");
let algo = client.algo('davealgdev/AscyEncr/0.2.0');
let response = algo.pipe(input);
View Rust Docs
Discussion
  • {{comment.username}}