Nome Utente: 
Password : 
Restringi sessione all'IP 
Online in 1gg
Domande  |  score: 0  |  0,58 4,25 3,42 |  Risolta da 114 persone  |  12860 views  |  da 12 Feb 2023 - 01:04:47

CGX#4: Ascii Encoding (Encoding, Training, CGX)

ASCII Encoding
Hello future Hackers,

We have created the next lesson.
This time we talk about ascii encoding.
Again, the challenge is more informative and gives no points.

Happy Challenging!
- gizmore and x
Problema CGX#4
Questa lezione ha un problema interattivo:

72 101 108 108 111 32 85 116 101 110 116 101 32 110 111 110 32 114 101 103 105 115 116 114 97 116 111 46 32 83 111 108 117 116 105 111 110 58 32 77 102 120 116 114 71 72 107

Il problema viene generato in modo casuale ed è legato alla tua sessione.

Buona fortuna!
Il team WeChall
La tua solutione per CGX#4: Ascii Encoding
Risposta
# CGX#4: Ascii Encoding

Computers can only work with numbers.
We need a mapping, for converting numbers to written characters, to display text to humans.
The [ASCII](https://en.wikipedia.org/wiki/ASCII)
[encoding](../README.md)
was one of the first encoding to solve this problem.


## ASCII

- 1 byte per character.
- Original 7 bit + 1 bit [checksum]()
- [ASCII Table](https://www.asciitable.com/)


## Other encodings
- C64 Screencode (A=1, B=2, ...)
- 8bit ASCII / extended ASCII
- Win ISO
- Unicode with UTF 8/16/32


## PHP Implementation
- number to letter (chr())
- letter to number (ord())
- string encodings in PHP
© 2023, 2024, 2025 e 2026 by gizmore e x

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.