Generate Checksum control

I find a idea to generate a Chcksum code to put in a table

the file/table are only string (char and number )

ex:

file original:

value description
univocal 20 char/number univocal

AABC01 AAAAABBBB8765367BBBAA
DD6C43 1CCCCCBBHJ4563-DDEFTR
AVES01 VBGHJ87654-7Z577567482
ecc...

the result are identical file plus CHECHSUM

xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx ->> VALUE <<--
xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx "" ""

ecc..

I find a function for create/verify the checksum (ksh) make use of the two columns of file.