Wednesday, March 5, 2025

 On-board Encryption :- 

On-board Encryption is one of the additional and optional feature that can be added in the STQC / UIDAI Certified IRIS Device. 

On-board encryption is nothing but the encryption keys are stored in the hardware device and encryption process happens within the sensor/hardware of the device itself rather than relying on a separate external server or external key management system. 

The sensor data is encrypted and decrypted using keys that reside on the same device where the data is stored, providing a high level of security by keeping the keys localized.

Sunday, October 22, 2017

An open-source crypto currency exchange - Peatio

An open-source crypto currency exchange - Peatio

Peatio is a free and open-source crypto currency exchange implementation with the Rails framework and other cutting-edge technology.

Mission

Our mission is to build the world best open-source crypto currency exchange with a high performance trading engine and safety which can be trusted and enjoyed by users. Additionally we want to move the crypto currency exchange technology forward by providing support and add new features. We are helping people to build easy their own exchange around the world.

Help is greatly appreciated, feel free to submit pull-requests or open issues.

Things You Should Know

RUNNING A EXCHANGE IS HARD.

Peatio makes it easier, but running an exchange is still harder than a blog, which you can download the source code and following the guide or even a cool installer and boom!!! a fancy site is there to profit. We always prioritize security and speed higher than 1-click setup. We split Peatio to many components (processes) so it's flexible to deploy and scalable.

SECURITY KNOWLEDGE IS A REQUIREMENT.

Peatio cannot protect your customers when you leave your admin password 1234567, or open sensitive ports to public internet. No one can. Running an exchange is a very risky task because you're dealing with money directly. If you don't known how to make your exchange secure, hire an expert.

You must know what you're doing, there's no shortcut. Please get prepared before continue:

Ruby on Rails knowledge
Security knowledge
System administration

Features

Designed as high performance crypto currency exchange.
Built-in high performance matching-engine.
Built-in Proof of Solvency Audit.
Built-in ticket system for customer support.
Usability and scalable.
Websocket API and high frequency trading support.
Support multiple digital currencies (eg. Bitcoin, Litecoin, Dogecoin etc.).
Easy customization of payment processing for both fiat and digital currencies.
SMS and Google Two-Factor authenticaton.
KYC Verification.
Powerful admin dashboard and management tools.
Highly configurable and extendable.
Industry standard security out of box.
Active community behind.
Free and open-source.
Created and maintained by Peatio open-source group.


Known Exchanges using Peatio
Yunbi Exchange - A crypto-currency exchange funded by BitFundPE
One World Coin
Bitspark - Bitcoin Exchange in Hong Kong
MarsX.io - Australian Cryptocurrency Exchange

Mobile Apps
Boilr - Cryptocurrency and bullion price alarms for Android

Requirements
Linux / Mac OSX
Ruby 2.1.0
Rails 4.0+
Git 1.7.10+
Redis 2.0+
MySQL
RabbitMQ

Getting started
Setup on Mac OS X
Setup on Ubuntu
Deploy production server
API

You can interact with Peatio through API:

API v2
Websocket API

Here're some API clients and/or wrappers:

peatio-client-ruby is the official ruby client of both HTTP/Websocket API.
peatio-client-python by JohnnyZhao is a python client written by JohnnyZhao.
peatio-client-python by czheo is a python wrapper similar to peatio-client-ruby written by czheo.
peatioJavaClient is a java client written by classic1999.
yunbi-client-php is a php client written by panlilu.
Custom Style

Peatio front-end based Bootstrap 3.0 version and Sass, and you can custom exchange style for your mind.

change bootstrap default variables in vars/_bootstrap.css.scss
change peatio custom default variables in vars/_basic.css.scss
add your custom variables in vars/_custom.css.scss
add your custom css style in layouts/_custom.css.scss
add or change features style in `features/_xyz.css.scss'
vars/_custom.css.scss can overwrite vars/_basic.css.scss defined variables layout/_custom.css.scss can overwrite layout/_basic.css.scss and layoputs/_header.css.scss style

Ref : https://github.com/peatio/peatio/issues

Tuesday, July 18, 2017

Crypto-Currencies or Virtual Currencies - Simplified

Cryptocurrencies / Virtual Money(It’s not only the currency, It is the technology.)

About Crypto Currencies
A crypto currency is a digital currency that is created and managed through the use of advanced encryption techniques/software.
The system is peer-to-peer, and transactions take place between users directly, without an intermediary (decentralized).

As a global currency you can send crypto currencies to anyone, anywhere in the world without worrying about cross border remittance charges and Service Charges, etc.,



Advantages of Crypto Currencies
1. Crypto currencies are digital and person to person directly and cannot be counterfeited or reversed arbitrarily by the sender.
2. Lower Fees for the transactions.
3. Access to Everyone.
4. Immediate Settlement.
5. Recognition at universal level.
6. Free of all governmental oversight.
7. The crypto currency economy is monitored by a peer-to-peer internet protocol.

Where it is useful nowadays?
Hawala or bulk Money Transfer
Terror Funding
Drug trafficking
Money laundering
Person to Person money transfer (across geographies)

DISADVANTAGES of Crypto currencies
No government has authorized till now.
Fact is many people are still unaware of crypto currency or Digital currency.
People need to be educated about it to be able to apply it to their lives.
Businesses need to start accepting it.
They need to make it easier to sign up and get started.

Types of Crypto Currencies.
Bitcoin, ethereum, litecoin, Dash Coin, Ethereum Classic, Z-Cash, Monero, ripple and many more.
About Bitcoin
Bitcoin is a first ‘cryptocurrency’ and a digital payment system invented by an unknown programmer, or a group of programmers, under the name Satoshi Nakamoto. It was released as open-source software in 2009.

Sample Bitcoin Address : 
1Mkv42y2JkUbEEtfWwACmTbmWzQvcRb6E7
(26-35 alphanumeric characters)

How it works and who manages crypto currencies?
Transactions are verified by network nodes and recorded in a public distributed ledger called a blockchain.

BlockChain Network
“The distributed-ledger technology that under grids bitcoin...  could change the financial system; think the Internet before browsers.”

More details about BlackChain.
The blockChain network is a peer-to-peer payment network that operates on a cryptographic protocol. Users send and receive bitcoins, the units of currency, by broadcasting digitally signed messages to the network using bitcoin wallet software. Transactions are recorded into a distributed, replicated public database known as the blockchain, with consensus achieved by a proof-of-work system called "mining".

A Bitcoin address, or simply address, is an identifier of 26-35 alphanumeric characters, beginning with the number 1 or 3, that represents a possible destination for a bitcoin payment. Addresses can be generated at no cost by any user of Bitcoin. For example, using BitcoinCore, one can click "New Address" and be assigned an address. It is also possible to get a Bitcoin address using an account at an exchange or online wallet service.

900 crypto currencies
There were more than 900 crypto currencies available over the internet as of 11 July 2017 and growing. New cryptocurrency can be created any time. By market capitalization, Bitcoin is currently the largest blockchain network, followed by Ethereum, Ripple and Litecoin.

Software available at
Bitcoin Developer APIs available at https://bitcoincore.org/

Who started using bitcoin?
Microsoft, Paypal, Dell, etc.,

Where to buy bitcoins? bitcoin wallet Service provider?
www.bitpay.com
www.zebpay.com (India focused)
www.etoro.com
www.coindesk.com
www.Zcash.com
www.bitcoinwallet.com
Www.blockchain.info/wallet/
www.bitcoincore.com

Bitcoin vs INR

Value of one Bitcoin vs INR is Rs.1,52,736/-
Value of One Bitcoin vs USD is $2268/-

Value of 1ETH vs USD is $193/-

Source : Various Websites. 
Dr. G. Antony Raj MCA., PhD.,

Monday, February 16, 2009

Creating Modular Groovy Applications in 5 Steps!

Let's create a modular Groovy application! Why?! Modularity is an enabler of scaleability. As your Groovy application increases in size, you increasingly need to manage code dependencies, structure your code in units that are larger than packages, and distribute pieces of your application to developers located in different locations and conflicting time zones. Welcome to modularity.

The NetBeans Platform already provides it (plus, OSGi is coming to the NetBeans Platform). Beyond modularity, there are specific features that the NetBeans Platform provides that will remain unique, such as a shared filesystem for intermodular communication and the concept of "context" (i.e., NetBeans Lookup), which not only applications have (as with the JDK 6 ServiceLoader class), but NetBeans Platform objects such as windows themselves. Welcome to loosely coupled modularity.

Now, let's get started.

1. Start up NetBeans IDE 6.5.

2. Go to this page and download the Groovy Console Template and use the Plugin Manager (in the Tools menu) to install it into the IDE.

3. Now, in the New Project dialog, you should see this new project template:


  1. Click Next, give your new application a name (such as "HelloWorld") and a location on disk, and then click Finish. Expand a few folders and you should now see this:

    Briefly, the template gives you a Groovy POJO, with this content:

    package org.my.app

    public class DemoPojo {

    def foo

    }

    The template also gives you a ModuleInstall class, which handles the lifecycle of the module:

    package org.my.app

    import org.openide.modules.ModuleInstall as MI

    public class Installer extends MI {

    @Override
    public void restored() {

    for(int i = 0; i < 10; i++) {
    DemoPojo dp = new DemoPojo()
    dp.setFoo(i)
    println("Number: " + dp.getFoo())
    }

    }

    }

    So, we have some standard Groovy constructs here, simply to get you started in the ecosystem of the NetBeans Platform. The module also includes a properties file for internationalization purposes and a layer.xml file, for the module's contributions to the shared filesystem.

  2. Run the application (i.e., without doing anything at all, no tweaking, no post processing, nothing at all, just run it). Look in the Output window of NetBeans IDE and you will see this:

So, you can see that you only have the absolute minimum set of modules to start with. Also you're using the Groovy compiler (thanks to an additional target that's added to the demo module's build.xml file). That's how to get started with modular Groovy applications. Have fun with Groovy on the NetBeans Platform!

BitNami - Drupal Stack

I have come across this interesting stack for drupal.
BitNami Drupal Stack is an easy to use installer for Drupal, which is a content management platform that allows an individual or community of users to easily publish, manage, and organize a wide variety of content on a website. In general, Drupal is used for community web portals, discussion sites, corporate web sites, intranet applications, personal web sites or blogs, aficionado sites, e-commerce applications, resource directories, and social networking sites. Drupal is easy to extend by plugging in one or more of the dozens of freely available modules.

Visit http://bitnami.org/stack/drupal