personalapps
Member
I am trying to generate sign for an API using   HMAC-SHA256
I have jB4XEncryption ticked but I still get 'unknown type error 'UNKNOWN TYPE ERROR
I also tried copying the B4XEncryption lib to the internal library folder of b4j but I still get the error:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			I have jB4XEncryption ticked but I still get 'unknown type error 'UNKNOWN TYPE ERROR
I also tried copying the B4XEncryption lib to the internal library folder of b4j but I still get the error:
			
				B4X:
			
		
		
		Sub GenerateSign(client_id As String, access_token As String, timestamp As String, secret As String) As String
    Dim key As String = secret
    Dim message As String = client_id & access_token & timestamp
    Dim m As Mac 'UNKNOWN TYPE ERROR
    Dim k As KeyGenerator 'UNKNOWN TYPE ERROR 
				 
 
		 
 
		 
 
		 
 
		