+ // create table elements for displaying the shares
+ var char_cells = createElement('th','char');;
+ var char_code_cells = createElement('th','ascii');;
+
+ // decompose string, for each character create secrets from asccii code
+ for (string_pos=0; string_pos<string.length;string_pos++) {
+ char_code = string.charCodeAt(string_pos);
+ char_cells += createElement('td',string[string_pos]);
+ char_code_cells += createElement('td',char_code);