Ancient Vedas and Vedic chants are protected from alteration/error-injection in lyrics by two ways:
- First protection comes by the way the chants were written. Typically they have chandas which need to be followed. Any change to a vowel/consonant can be detected if some deliberate/accidental changes were made to the chantings.
- Modern day mapping (wrt to encoding data only) for these chandas in REST-APIs,Google-Protocol-Buffer, Facebook-Thrift, Sun-RPC, Microsoft-COM, RMI. In these protocols also data is encoded/decoded using certain rules.
- Limitation of both chandas and modern-schemes are:
- Intelligent cracker can inject deliberate data. In chandas it is little easier.
- But in modern day communications the data corruption is checked by digests/checksums
- Second protection for (especially on important) chantings, comes by the oral repetition and memorisation of chant's words . Mainly these things were called as Ghana , Jata
- All modern day communications will some sort of error-correcting-codes (above vedic correction codes is one of the modern error-correction-codes).
One advantages of Modern day's data is stored in books, persistent mediums (before send to air, wire,etc) which are cheap and widely available.
Disadvantage for Vedic chants is there is no cheap and widely available mediums to store them persistently. Vedic were orally transmitted with very less usage of persistent medium (as only persistent medium were palm-leafs, costly-copper-plates). So vedic students memorised the chantings by this error correcting Ghana/Jata/etc.