bnkcryptjs is a cyrpto js by Bnkcrypt which lets you collect data by a headless or js inject method it uses secure cryptography algorithm to select/scrap encrypt and transfer the data to be excrypted later using a special salt. It uses PKI to ensure end user's data is transfered without any risk of MITM attack ( man-in-the-middle ) attack.