Git Product home page Git Product logo

dgca-partialvarhashfilter's Introduction

Standardized Partial Variable Hash Filter Implementations

AboutDocumentationSupportContributeLicensing

About

This repository contains the source code of standardized partial variable hash filter implementationn in different languages for the usage in covid associated applications. The code base itself is not bound to Covid Certificates itself and can be used in other applications as well.

Main goal of the standardization is, to have an 1:1 crossplatform behavior in swift, java, python, javascript, kotlin, nodejs, C#, Go and Other languages which are used in covid applications. (Please contribute language implementations if possible). Currently available:

  • Java
  • Swift
  • Kotlin
  • C#
  • Javascript
  • Nodejs
  • Go
  • Python

To standardize the implementation a set of abstract testdata and a standardized data format is created to align all implementations in the behavior.

Data Format

The data format is a serialized byte stream with the following structure in Big Endian Format:

Pos Byte Field Description
0-1 2 Byte signed Number (-32,768 to 32,767) Version Number which describes the current version of the used Data Format.
2-5 4 Byte signed Decimal (7 Digits) p Probility Rate
6-9 4 Byte signed Number (-2,147,483,648 to 2,147,483,647) n Amount of Elements for which the filter was constructed
10 1 Byte signed Number (-128 to 128) size Size of the hash parts stored in the filter in bytes
11-* * Bytes Filter Bytes of the hash parts stored in the filter, with 'size' bytes each

Support and feedback

The following channels are available for discussions, feedback, and support requests:

Type Channel
Issues
Other requests

How to contribute

Contribution and feedback is encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright (C) 2022 T-Systems International GmbH and all other contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.

dgca-partialvarhashfilter's People

Contributors

mykhailonester avatar schulzesttsi avatar slaurenz avatar

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.