Challenge 32 – Decode the Encrypted String
Challenge 32 involved decoding the string below to plain English and then creating a simple function to perform the decoding.
For instance, given a string of “”SAAAAGkAAAAgAAAAQgAAAG8AAABiAAAA”, return its value in plain English. (i.e. “Hi Bob”’)
The prototype of the function could look like this:
public static string Decode(string stringToDecode);
Here is the string to decode:
The following are the requirements for coding Challenge #32.
- Decode the string above.
- Create a function to perform the decoding.
- Any programming language may be used.
The following is the correct response.
Winners (out of approximately 10 respondents)
Thanks to everybody for your responses to SCS Coding Challenge #32!!!
Matthew Kent Is this month’s winner based upon first correct response received.
|Name||Prize Winner||Good Answer|
Monthly Programming Tidbits
HTML5 Server Side Events
Server-Sent Events allow a web page to get updates from a server.
Server-Sent Events – One Way Messaging
A server-sent event is when a web page automatically gets updates from a server.
This was also possible before, but the web page would have to ask if any updates were available. With server-sent events, the updates come automatically.
Examples: Facebook/Twitter updates, stock price updates, news feeds, sport results, etc.
Receive Server-Sent Event Notifications
The EventSource object is used to receive server-sent event notifications:
Coding Challenge #33
Please stay tuned, SCS Coding Challenge #33 will be published in a few days. Details will follow. The winner will be awarded based upon the best approach.