Coder Social home page Coder Social logo

tinytls's Introduction

TinyTls

License: MIT GitHub last commit GitHub stars GitHub watchers GitHub followers

A few words about

This repository contains an implementation of the TLS Stream Plugin for Unreal Engine. The TLS Stream Plugin is a secure communication protocol that is used to encrypt data transmission between two endpoints over the internet. This plugin provides developers with a simple and efficient way to add secure communication capabilities to their Unreal Engine applications

The plugin is designed to work with Unreal Engine 4.20 - 4.27.2, 5.0 - 5.2 and provides a wrapper around the OpenSSL library, which is widely used for implementing secure communication protocols. The plugin supports both the TLS 1.2 and 1.3 protocols, which are the latest and most secure versions of the TLS protocol.

The implementation of the plugin provides a simple API for establishing secure connections between endpoints, sending and receiving encrypted data, and managing TLS session state.

The plugin is open source and can be used for both commercial and non-commercial projects under the MIT license. The repository contains the complete source code for the plugin, along with sample applications and documentation on how to use the plugin in your own projects.

Example

#include "TlsStream.h" // the only include you need

void Example1()
{
	auto* Stream = TinyTls::CreateTlsStream(); // Obttain the stream implementation
	Stream->Connect("127.0.0.1", "6969");

	const FString Message = "Disaster is Here";
	
	Stream->Send( Message.Len()); // chars count first
	Stream->Send(GetData(Message), Message.GetCharArray().Num()); // And the data
	
	TCHAR Buffer[1024];
	const auto Length = Stream->Receive<int32_t>();
	Stream->Receive(Buffer, Length);

	// Do some stuff
	
	Stream->Disconnect();
}

Good luck!;D

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.