Проверка шифрования

Вы можете легко проверить вашу корректность шифрования, для этого мы здесь указали то, как должно оно работать с простым запросом.

Итак у нас такой запрос на фискализацию:

    {
	"kassaid": "111111",
	"kassatoken": "222222222222",
	"cms": "wordpress",
	"check_vend_address": "адрес нахождения автомата",
	"check_vend_mesto": "место установки автомата",
	"check_vend_num_avtovat": "номер автомата",
	"check_send_type": "email",
	"products_arr": [{
		"name_tovar": "Товар 1",
		"price_piece_bez_skidki": "881000",
		"kolvo": 2,
		"price_piece": 2500,
		"summa": 5000,
		"stavka_nds": 0,
		"priznak_sposoba_rascheta": 4,
		"priznak_predmeta_rascheta": 1,
		"priznak_agenta": "none"
	}, {
		"name_tovar": "Товар 2",
		"price_piece_bez_skidki": "50000",
		"kolvo": 1,
		"price_piece": 2500,
		"summa": 2500,
		"stavka_nds": 0,
		"priznak_sposoba_rascheta": 4,
		"priznak_predmeta_rascheta": 1,
		"priznak_agenta": "none"
	}],
	"oplata_arr": {
		"rezhim_nalog": "0",
		"money_nal": 500,
		"money_electro": 1000,
		"money_predoplata": 1500,
		"money_postoplata": 2000,
		"money_vstrecha": 2500,
		"client_email": "[email protected]",
		"client_phone": "79001234567"
	},
	"itog_arr": {
		"priznak_rascheta": 1,
		"itog_cheka": 7500
	}
    }

После первого шифрования мы должны получить вот такой запрос:

    {
	"ab": "aD1zpucs+fjN/8aj3ZWxbfvrARnp3t9PLJDson+tBLamatBfbyDeRXnHqC9ZRPBGYMykWzGAzCYCDPLM9MvcnNeLQtrkUtPYWTOKUziTpp57BtA1xEU4BK+omPa5VaKQ404VlKwGdgyUEQ/IZthDz7a6ycj22/puSeWuW73vhM+ntliwDXsVQRAfRyR1QrXaC6NsLgrlAZ8VgxxXwt3EU/1+oC7S1bb90QMaLwR3GUKfsgqvPqCggRZg9mC29Y/bOrBnoU4V+UTE40GaxYZ4g94DtYrbP659IQ+rP4nKsR09HE/zVZMxNoKKyLRZhqr7XRs9vZc9hvWiIy6hf0RIoJQYycREhYZe7neZPc7RXIw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X/g381u+ubsmMCPcfIBWq1FKYIllFrrz/o0Rj/5LLfKEWc1LDiHPrL3WA65omEJj1TYAL6XieeGrWQyPSy42JZuvDcsyRl+CGiNuhOzcDY/8XqRfGS+NYjmcncRPjldMn/k7JgX3DJB3DaVCwSFsY0n1xVuEp9YkBapZze7wR8Kko0RLkyV+vgT9C7QRj3RNu5cTYNs2YbXibjJXfJdk0o/Iiugpu2zkbopJLbtOXQz5RsfbRbtYbG6YfJrIfyGlmT22LUm0OQkwjIlK6h8VRhNKcH+N+tpu46z9zXA+3vIsm8l5Rxh/VJo6LCSSKSs4TjyPErLCXL/2lTAF3d3XJT/vwaiTuGesNx9o4u+LLLEuXA07KezpHAZZ//P66JQFjoPKYp2KnMS+5D48WBevJ7Q2CQ2GDdHLjpatTfOSQ6vI7gTYB2bUHcnTmn332Ax3IYzaYdhafvJxJ/XouxIbz5m3Ruy0mfaQeNDVS2qWmh6G8niOqQjwBLnrsvvlT2+AXqgMA667WN/TEe6YSwq0oYnT3/NN8LymCRVfga2dHOtO5e29h/4gisdaysMHX5PHbeKGxZKCKsaBQdF8Fh6fL/A+RDV1OWr6j5X2N+vQLulJjdLEHKK6I7aXNGx3jeo2g9N8nhSZdIyRvtPBB",
	"kassaid": "111111",
	"kassatoken": "222222222222",
	"test": "0"
    }

Затем шифруем этот запрос еще раз и получаем:

    {
	"aab": "FtGTkJSoA+fTkcpqoCcrNMNlB3SjcH0yv/nU//OLRJCKhybptSY8caR9m3XW3Nni7tChbjH95YB1mzFjqQ2KR0gG40KaqQYUF7YsTol82EqYq5AtqOdS6V8AVmA7h2Hg5tq1RFVHwtvYvyg0tBAbB/b2qa95JUxctDK8xeV8y17x9hUGsMhnnlENP6ZO1whQ0g6C50eAJVXtALca1wRwVkbZqQxCW99HOq2qb0c9XIgNCc/eY/OVO/fnZjdiCk/cE6TaDDKZCfkm0OmKW18/QRbv/lSagTLFOK4OUSevTg8mf3eStqII4T2kRAaUTvdg3rDdAFl867r8seiNx+r7ZK7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