- Generate private key
openssl genrsa -out privatekey.pem 1024
Generating RSA private key, 1024 bit long modulus (2 primes)
......................+++++
....................+++++
e is 65537 (0x010001)
openssl genrsa -out privatekey.pem 1024
Generating RSA private key, 1024 bit long modulus (2 primes)
......................+++++
....................+++++
e is 65537 (0x010001)
Setting up the specified environment on a Mac can be broken down into several steps. Below are the steps to help you set up the requirements on a macOS system:
Install Homebrew (if not already installed):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install PHP 7.4 and extensions:
import Foundation | |
class Helper { | |
static func saveUserDefault(duration: String) { | |
UserDefaults.standard.set(duration, forKey: "key_452") | |
} | |
static func loadUserDefault() -> String { | |
let defaults = UserDefaults.standard |