This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct AppUtility { | |
static func lockOrientation(_ orientation: UIInterfaceOrientationMask) { | |
if let delegate = UIApplication.shared.delegate as? AppDelegate { | |
delegate.orientationLock = orientation | |
} | |
} | |
/// OPTIONAL Added method to adjust lock and rotate to the desired orientation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% comment %} | |
AFRAME VR Setup: | |
1) Download aframe.min.js , three.module.js. | |
2) Create and populate assets marked as (<!-- Dowload asset and replce-->) | |
3) Install npm if not there... run npm install -g http-server | |
4) Navigate to that file's folder using Terminal. | |
5) Run http-server | |
Note: Please name the file 'index.html' | |
{% endcomment %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This sample code illustrates below mention feature | |
1) Diffie Hillman key exchange | |
2) HKDF Aes encryption and decryption | |
Tech used: | |
1) BouncyCastle | |
2) C# dotnet | |
*/ | |
namespace In.ProjectEKA.HipService.EncryptionBit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This sample code illustrates below mention feature | |
1) Diffie Hillman key exchange | |
2) HKDF Aes encryption and decryption | |
Tech used: | |
1) BouncyCastle: ( | |
<dependency> | |
<groupId>org.bouncycastle</groupId> | |
<artifactId>bcprov-jdk15on</artifactId> |
OlderNewer