anchor.diff:  	Acc.
   
   
  -tryte(X) ->
  -	binary:at(?CHARSET, X).
  -
  -
   to_text(Trytes) ->
   	to_text(Trytes, <<>>).
   
  
positive.code: 	Acc.
  
  
  value($9) ->
  	0;
  value(Tryte) when Tryte >= $A andalso Tryte =< $Z ->
  	Tryte - $A + 1.
  
negative.code: 	from_trits(Trits0, <<>>).
  
  from_trits([T0, T1, T2|T], Acc) ->
  	X = tryte(T0 * 9 + T1 * 3 + T2),
  	from_trits(T, <<X, Acc/binary>>);
  from_trits([], Acc) ->
  	Acc.
  
  
  from_trytes(Trytes) ->
  	from_trytes(Trytes, <<>>).
  
  from_trytes([H|T], Acc) ->
  	X = tryte(H),
  	from_trytes(T, <<X, Acc/binary>>);
  from_trytes([], Acc) ->
  	Acc.
  
  