SDK Subresource Integrity

A Subresource Integrity (SRI) check is a security feature that enables browsers to verify that the resources they fetch are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched resource must match.

Note: To use SRI, you must use a browser that supports this feature. If your browser does not support the feature, the browser simply loads the resource without any check. To see if your browser supports SRI, see here.

Usage

<script src="https://sdk.inbenta.io/km/{version}/inbenta-km-sdk.js" integrity="{hash-type}-{hash}"  crossorigin="anonymous"></script>

Instructions: Copy the above code to your page and replace {version} and {hash-type}-{hash} with the desired values (See table below).

Example
<script src="https://sdk.inbenta.io/km/1.20.0/inbenta-km-sdk.js" integrity="sha384-5SAzy0v2YMX1NHcUSm3+DoU5NpVHAuop/bdHHWImdX43YPlr15S0z8cNCiEGu5LC" crossorigin="anonymous"></script>
If the check fails...

If the integrity check fails, the resource is not loaded and an error message is created in the browser console. Here is an example of an error message:

inbenta-km-sdk.js

Version Subresource integrity hash
1.27.1 sha384-7+dudVv8lZrS+soE8vOsf8DwZ9MWJFtnbDOnFQu+nVX9DrGYg1Wiaplzqr5TkKkF
1.27.0 sha384-OVncl2vvngv5lcbLVBuHIngoM2zTMkTUE1Q9CPjw60xpKcsbFzmqLjFzkWSqWcL5
1.26.0 sha384-I6bBtSbh/eF+v82CmGQFA+kr6fXZlKDliizI7+bxWMWp5sbtK8vgPe3qS+AJntBf
1.25.2 sha384-v+9NTYsV1AJHwl6vEi4aPUIus3LNiU1HYQIcqSORbIwhrKMk0Sl894ZuZ1zPVPZc
1.25.1 sha384-Nru3m58O4FJ5n0Yk366TmEFP2m6XuQZ6FfWCLMdHEFd0uIrPCTdE36kYpCiNnsc8
1.24.0 sha384-3q166CvhECCxt8jA2IA1v6AbdkO2ZDOZOXTeEtmwjWRYKllIO2NoUUBwW+zwTYoh
1.23.0 sha384-ARcSJB0RTwVBJyuSif1zLjZd7DB+/59cWyI5Pxv5aOcP17ei8GVXB/XBnBG89Mc0
1.22.3 sha384-Y3DxHR1u6Q3GnYU0QO6JJ7BRUvq9LbSfCxM/hJpY9d0E2sFGyP+4OUieLLRsZY8E
1.22.2 sha384-rjMsQFVdLXHHfkXmw+dfGoG5w5xSKvQ+7axE3PE098zPJkmf7UZBBblJ/7yTpg64
1.22.1 sha384-AatNecfsLeieofGLk5c/pyWgxyUZp+85mhqj0ubGf/ySQdDN/xiMw82OvSZkC+Pe
1.22.0 sha384-lNP/bt39NNpzjomv4/I8fZLMX7cPCeEWEIv27diMbqlv1gelNpYCKClXxs3K910N
1.21.1 sha384-vn0tErjX3A1a/aqlzVLuWPGlEuvHtLK473qHp5mF/aIeyPfKKkPYFHjPErXYlVvK
1.21.0 sha384-VfSKIsKjJIeO1+ETAdWvXzwdSx5VfiEcReWNIDUQE9SRWGGKT2lucvHYId8kxmde
1.20.0 sha384-5SAzy0v2YMX1NHcUSm3+DoU5NpVHAuop/bdHHWImdX43YPlr15S0z8cNCiEGu5LC
1.19.1 sha384-Dd2cgbsCcc13dT25T1FWUrFwHKIPGcROiwJeIgi7mIp8kO6Kio/aVOX0kHzPtABO
1.19.0 sha384-FGpB0Ka+bBvtlpVVi1OVI6qUXbU7ekNYVyRcJDZMRRDW/kEm/KWq3s52Hg7y92GA
1.18.0 sha384-54ZZQ/Ge3y5tfC7+HxMdXOmFDPRWhuEkDYBB3l3hDPUA3a2PTUnrVNFs96+fkDkH
1.17.0 sha384-JLGbG968kFP/WNYe4hPhHlIoh2Coi+hOLQjjkrio14EIF4/3KxIIUWH+LXb6F+aD
1.16.0 sha384-N04bgo89hmgluPqEtf/l1qD8Z7M81otHTl9qE7P+p2jCs4DortVO3uY0YiCGHgAf
1.15.1 sha384-1sYnIqkC7uGobsiTnnygwpBJeX1G4ExHgOCnAkm/IRRYfZ6xgYD5LTYtVf6pEi8n
1.14.0 sha384-JstivIkRfN10XlkMBKmjMcxfX+je3+aJOW7hD7Kl15B5WnzpuBnItAiLyBOC7NP3
1.13.0 sha384-PWg7ZalwiMqti2EXrZtoDebn5JeIQUf+42oZwiW3hr+DmxijnsM2r0f+knHVbzin
1.12.0 sha384-goHQzUTAVawa479eknD/ToSe5pOoE0d87bUKIgDZiX1WhcHFqzpJHCJfEM/Kjri1
1.11.0 sha384-slNQfyMff248YXfO7UCD/1g0XoI2Taxx3iPCZeymPaa5qwxOrd78a3Tg2StFy6uP
1.10.1 sha384-9aqjPaHZCohizc+MgblMYxbbvkuPvJp11uYFH8QWmxkQpTNuOLXb4xmT/berHRPt
1.10.0 sha384-d5uKHHmoGOHpt60dLVPI7316unMzbZ2b4+8AzKFpq9vN9HeKOv1xgWB+NvAZKIsE
1.9.0 sha384-SUdVsCpldv7inBV3RGCLnKxc2sGw6xG5PNDPAoIOjZcSvlk6ox7YNcdxRkGjTY1/
1.8.0 sha384-8MGJ4LujEjghQbPOrypJ+X8I5KZK0K74+oQCSf7PwGIueOOeu8P1gTmuSmnNdzRv
1.7.0 sha384-EWKLSrXrR3UyL2CE3TDY3dh4HF77qU0PfqOxYZxIF80d/9q524ANcv5SfI2gIQ8r
1.6.3 sha384-fkMXzbNsx0pIqX7WY5MX5qvj307fRnv2bOkKT+IqabZc6bK5qf0RIs95XqqBS9gF
1.6.0 sha384-dbnuruU8Lx8BjbySzrvew+DuY3P38B0lHGdRKynAqLYe1MHd76oEsyEfBorC1HKg
1.5.2 sha384-NJMgCxln/0UGiwCSre4wJTFp33lZonEFB/JiMG+jjw66gslwThicnZvBj43C0oJ0
1.5.0 sha384-aLCWHziEubWIjXrUmcq/OsmmOyiJrRAHIfGs1cdKizfulG5pBcDAsgnsFhK4Puai
1.4.0 sha384-I+t6abHlTTauAObS/wQJNhS3IRVIP/t4O0r5cKLg2n3Qk1izZdbekC6Z2lJLoU31
1.3.0 sha384-LrRs6O/I53XltWOdcH94knHtBn2CVajI2r287f13Nvc5Fb7MQj0SYMGkCue5hHwp
1.2.4 sha384-QErDGjf+baZ/4ACvd9VgtGJolcawR7VI9vsilaU3rcNraSQ0kYtpyqqjTylraXNk
1.2.3 sha384-wHpdEnBmhUfPw2ahBg61E9Ck9riu5b1RnAXQVt+UlTQKyh0jt7kJioQPysaFVtPG
1.2.2 sha384-GzDB9scO4SdPQ69Rbjzz/Rrjq2nR9pOafKqWIQO/yZPP7DMwA+9awhqL8ivR7osM
1.2.1 sha384-6t5V7sEfjzVgEsPdwolEXFmvcqqtRcmbWEJt7ugFdCwI6T9VxodJ+3jTDYzHlKMG
1.1.0 sha384-JZrzUOSm/OwqK+vPbujslCMvevAU9h+6w135rn1kpfEm/Jx5TDTiYKq9E74w5PQ0
1.0.0 sha384-FvmiknIB/haL8s0oyqkGNkstBFd/t/k3kHkZ5lGhwk7b10UcHTstexWBuw7D7gwO

inbenta-km-client.js

Version Subresource integrity hash
1.27.1 sha384-WJE0+1paH4sNDxhmitq1ysOt60xYrpMEa/cR6DaJk2APIsJc82Qq/CX5i6qClsOv
1.27.0 sha384-gZkNtcnCluLBog0LErNGAnfbPrchuECvPeQsjimcPvq4qF5pLMmQ3ckhaJm6pvPh
1.26.0 sha384-hRiXYdURg8NIvt5z2ebFB8dIRas0e479gR+SXxOU/2bDzCR98pQA6XeUtkUFI3WF
1.25.2 sha384-bDCQMVBlJGVtTku000W/eEAuVH4jYgfezjh57nSHVo2CeOKhCMHqEcsPOkn2ZeiN
1.25.1 sha384-bDCQMVBlJGVtTku000W/eEAuVH4jYgfezjh57nSHVo2CeOKhCMHqEcsPOkn2ZeiN
1.24.0 sha384-rZlYppmkIM498d2kDE3klvj+ZAf5UKAU79F0v4KWMv6B/KIbB1rSDh4YAK9UOTit
1.23.0 sha384-IlsamVF/QynEUyUVxPWQJCHsLOH+KCCTy/UJd0keikZ+OcRw4DzP2jA/671ZX2Xf
1.22.3 sha384-9QtzlsMwIYrd99IGe+YZtnYWi19PzfEg6QtfBBqtHze8y4wN+eAuo1GcOP0DJzL2
1.22.2 sha384-9QtzlsMwIYrd99IGe+YZtnYWi19PzfEg6QtfBBqtHze8y4wN+eAuo1GcOP0DJzL2
1.22.1 sha384-9QtzlsMwIYrd99IGe+YZtnYWi19PzfEg6QtfBBqtHze8y4wN+eAuo1GcOP0DJzL2
1.22.0 sha384-vZ2U+pk2s9f+Vqsv/qV5YUQanNVQOwf1sB7z4pGI3ieUt1+TIJmQr8wbMj97c7tf
1.21.1 sha384-ffLiaDK1MAD/ZdwYCHvZ84YRNUgGr/G4PNcqEg2I2ug2MUSJwOxxdkF+IROEVyrz
1.21.0 sha384-SlYBz2C8XtgJwrHaPDyGecuXMTJzKlEK/ecFoME7uyrEZP+oeEQX9/UvSdEX9k5+
1.20.0 sha384-6M37HBLIvhGgLfNh0NglvdfOA053sU4mo1R7UjqMCp/kgx1ARiziwsHERsa9AvDx
1.19.1 sha384-/xDDFUNE7g5QHvXi3KHHvcoYqRvPuUhPY8EKfVHpRaTXWCL8hX8J/cDQj99RwdY6
1.19.0 sha384-/xDDFUNE7g5QHvXi3KHHvcoYqRvPuUhPY8EKfVHpRaTXWCL8hX8J/cDQj99RwdY6
1.18.0 sha384-RJGOLjsEM/Lodv9iEHWDbVRX/EKR8EUEzIu3ZLNaHr3ahxD0q6S8WpFDO2uKBJJ/
1.17.0 sha384-47EpS+JIqjWn5RIKb0ej9tuBK8r66Q2YwucBmO2uplxKjklroIIBrqHVEUCjruc+
1.16.0 sha384-Qb5X0Pw6L6YD3vpQhnYq2RcMyc5iauhUaH3l2GYahZV6hIyqrD42x5eghETGztPN
1.15.1 sha384-MvJEIyyqPRX2uQVDONiJteZAk83zLR396/flnoOwnN0cYLEYp8mcKENM39CUJacO
1.14.0 sha384-MvJEIyyqPRX2uQVDONiJteZAk83zLR396/flnoOwnN0cYLEYp8mcKENM39CUJacO
1.13.0 sha384-MvJEIyyqPRX2uQVDONiJteZAk83zLR396/flnoOwnN0cYLEYp8mcKENM39CUJacO
1.12.0 sha384-hISPf6Qs734b30YBGkvx/qZ0ehXXUhPpPJ4pBzZdLNvJfUCKqW/mdWfpCGCf+YBP
1.11.0 sha384-hISPf6Qs734b30YBGkvx/qZ0ehXXUhPpPJ4pBzZdLNvJfUCKqW/mdWfp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