new RunCipher()
Run cipher program
Example
```js
const program = new RunCipher();
program.answerTheQuestions();
```
Methods
(async) answerTheQuestions() → {Promise.<void>}
Method, that ask the questions, and run `getRes` method if answers have been correct
Returns:
get answers on questions
- Type
- Promise.<void>
(async) getRes(text, number)
Encrypt the received text
Parameters:
Name | Type | Description |
---|---|---|
text |
String | Text, that we want to cipher |
number |
Number | Shift by a certain number of characters |