Skip to content

Instantly share code, notes, and snippets.

View ctkqiang's full-sized avatar
👨‍💻
请我喝咖啡吗?

钟智强 ctkqiang

👨‍💻
请我喝咖啡吗?
View GitHub Profile
import 'dart:io';
import 'package:aes_crypt/aes_crypt.dart';
/**
* @Algorithm: first encryption of context (file) ==>
* decrypt based on extension ==>
*/
var __file_dir;
var __de_file_dir;
===============
//main.dart
import 'package:flutter/material.dart';
import './chat.dart';
void main() {
runApp(ChatApp());
}
import UIKit
class ViewController: UIViewController, UINavigationControllerDelegate, UIImagePickerControllerDelegate {
@IBOutlet weak var ImageDisplay: UIImageView!
@IBOutlet weak var CameraButton: UIButton!
@IBOutlet weak var LibraryButton: UIButton!
package Encryption.model
import java.util.*
import javax.crypto.Cipher
import javax.crypto.spec.IvParameterSpec
import javax.crypto.spec.SecretKeySpec
fun main(args: Array<String>) {
Crypto_암호.aesDecrypt("이것은문자열입니다",
"GgfIf7TQoL2NWJ1kZCyfm9i0di78nU6a")
import "dart:convert";
import "dart:io";
class base64encoder {
void encode_text(String textInput) {
List encodedText = utf8.encode(textInput);
String theBaseStr = base64.encode(encodedText);
print(theBaseStr);
}
import "package:encrypt/encrypt.dart";
import "dart:convert";
class _encryption {
static int theKeyLength = 32;
static int theLengthOfInitialisationVector = 16;
static var key = Key.fromLength(theKeyLength);
static var iv = IV.fromLength(theLengthOfInitialisationVector);
static var AESENCRYPTOR = Encrypter(AES(key));
#include <iostream>
using namespace std;
int main()
{
int i, x;
char str[100];
cout << "Please enter a String: \t";
sudo apt-get install libmicrohttpd-dev
sudo apt-get install libjansson-dev
sudo apt-get install libssl-dev
sudo apt-get install libsrtp-dev
sudo apt-get install libsofia-sip-ua-dev
sudo apt-get install libglib2.0-dev
sudo apt-get install libopus-dev
sudo apt-get install libogg-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install liblua5.3-dev
#include <iostream>
#include <ctime>
using namespace std;
string crackPassword(string pass);
long long int attempt;
clock_t start_t, end_t;
int main(){
string password;
#!/usr/bin/env bash
echo ">>>>>>>BY JOHN MELODY<<<<<<<<<"
echo ">>> 正在下载 <<< "
sleep 2
sudo apt install apache2
sudo ufw app list
sudo ufw allow 'Apache'
# sudo ufw status
wget https://github.com/coturn/coturn/archive/4.5.1.3.tar.gz