Caesar Cipher in JavaScript with a Negative Key

前端 未结 0 383
日久生厌
日久生厌 2021-02-07 21:30

I am trying to implement a Caesar Cipher but am unable to get it to work with negative numbers. The function works as expected with a positive key and modulo arithmetic.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题