You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your task is to write a function that takes an date in format Y-m-d(String) and return it in an encrypted format, to do this you will break the string of date, each 2 characteres of date(except '-') being an ASCII numeric code add 50 to it and return the result translated according to ASCII table with the '-' between it.
Example: "2017-01-21" -> You will get 20 17 - 01 - 21 (for each of then +50)-> 70 67 - 51 - 71 ->(ASCII Translation)-> "FC-3-G"