Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Conversation

@LuzEspiritu
Copy link

Hola envío ejercicio cifrado de cesar, gracias anticipadas por su feedback

@Gabx04
Copy link

Gabx04 commented Nov 14, 2017

@developerVilchez eslint OK.

break;
}
}
return encripWord;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

encriptedWord*

break;
}
}
return noEncripWord;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decriptedWord* ?

var message = '';
var message = prompt('Ingresa una palabra:');

if (message === null) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

puedes usar == para checar por null.

var noEncripWord = '';

for (var j = 0; j < newString.length; j++) {
if (newString[j].charCodeAt() >= 65 && newString[j].charCodeAt() <= 90) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cambiar todos los numeros que representan codicos ascii por 'A'.charCodeAt(0) con sus letras respectivas.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants