Skip to content

Latest commit

 

History

History

hle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

HLE

Hidden Lake Encryptor

hle_logo.png

The Hidden Lake Encryptor is a small service of the Hidden Lake network applications. It is used to encrypt and decrypt HL type messages.

Installation

$ go install github.com/number571/hidden-lake/cmd/hle@latest

How it works

HLE uses the pkg/client and pkg/network/message packages. Encrypted messages can then be sent to HLT for storage and distribution.

Supported platforms

  • Windows (x86_64, arm64)
  • Linux (x86_64, arm64)
  • MacOS (x86_64, arm64)

Build and run

Default build and run

$ go run ./cmd/hle

> [INFO] 2023/12/22 11:03:47 HLE is running...
> ...

Open ports 9551 (HTTP). Creates ./hle.yml file.

Default config hle.yml

settings:
  message_size_bytes: 8192
logging:
- info
- warn
- erro
address:
  http: 127.0.0.1:9551

Running options

$ hle -path=/root -network=xxx -threads=1
# path    = path to config, database, key files
# network = use network configuration from networks.yml
# threads = num of parallel functions for PoW algorithm

Example

Build and run HLE service

$ cd examples/encryptor
$ make

Encrypt and decrypt message

$ cd examples/encryptor/client_hle
$ go run ./main.go e 'hello, world!'
> 264412546dc14805...1802b47342f074d
$ go run ./main.go d '264412546dc14805...1802b47342f074d'
> hello, world!

Config structure

"logging"    Enable loggins in/out actions in the network
"address"    API addresses for HLT functions
settings:
  message_size_bytes: 8192
  work_size_bits: 22
  network_key: hle-network-key
logging:
  - info
  - warn
  - erro
address:
  http: 127.0.0.1:9551

Response structure from HLE API

"result" is string
"return" is int; 1 = success
{
	"result":"hidden-lake-encryptor",
	"return":1
}

HLE API

1. POST            /api/message/encrypt
2. POST            /api/message/decrypt
3. GET             /api/service/pubkey
4. GET/POST/DELETE /api/config/friends
5. GET             /api/config/settings

1. /api/message/encrypt

1.1. POST Request

curl -i -X POST -H 'Accept: application/json' http://localhost:9551/api/message/encrypt --data '{"alias_name":"IAM","pld_head":24446321, "hex_data": "68656c6c6f2c20776f726c6421"}' # hex_data = hex('hello, world!')

1.1. POST Response

HTTP/1.1 200 OK
Content-Type: text/plain
Date: Fri, 22 Dec 2023 04:55:30 GMT
Transfer-Encoding: chunked

301a4e9b534dc06e3d4461b5b44c42fecbebb69ccaabac35cbd00067a46ef8bf80aeded0bd9a3d94ec7338e1f0b8c7487d048a07254134bf5feb3cac7ce42be6462079323b184e40f19e3949b4cc83406980eecddcc4b40e8f2d5c2eb7e8bdf26ca149e8fe77e99bd78c5d90916942ed5ba2f52511b4bac95c4a53285745d163c8960fd4c590a59b2bdb518e5ce6b2425ffeb2eac885ac3fbce33905990b5593313156da1daf0a28ba7b9448dbdec4611bc4ec4b4443133b13a97ae5d9a5d48c3a90c5d89932eb5bc9f4375bac4767f7125d5867a955cc410fd74e068b5e7e4f87b07d50093837a98b85f6cc1a7fad90fe238648d39f8bf9038f07a00f0078410ec17e946c338a9a1974a7fbde473129c7ac43ffea400a212d10a3d834b961ca0c7f5983a6a930d95807098af8db467e001cede2070d0e687f5060a49cda695bcc3cabc350ecc4e057d7f9bc371d8877bbac6ee0b4153eadc417e60f4df73131ad28add83b537e8dbbcd75508830c1ed0df1d231edf440f0546bf364424abc985648c60cc7dd3cbd581163a43704c6c51ce5f6267affdebd3a89c1baed7e90bd68b6c9206773cf46e13fee3433a15e891b90ab916d03373abb03937bbe8c43ebac96da47cd9c2036edf40a43590e789ffc8a78bddc1602845d11e3620425ca4617713fcb6c3802b045b5c52885fc6021c645fe7c4bab9db2058d456f1a2e14acd3d25366301d4ef43311e0c4a9bc914ddb0db46485c5489d6bf07e6cb450ef7f9b3695b1732184ba921a73d6d2477f12b14c1b57316ba9087875bff4f444ae03b08512b8e41a826def5d41ad0b3a761e8573153f23d59fbbc4de561d2e43e09f4cb733d15adb6986f6d7f2f8638dad87f4c52dc726d9bcbad21d5f18bd24b3f4ba39ae2f5e5a16b254eba94baffaf2dc57fca47fda45ca0afecda3073681e1faa803cfb73aa13e1c18058030ab9861afe6d984bd22b3773ebcb48817c22d701b70c4336aa76d1da93303910dab8fcdb7261cdaa334953e1f3a733ac961c1f090254e7ec8e5431957aae7e1140ccc69213ec15f6747f88abfb2912394f2527abc5bf3c542ff195afa865774cbd6d075dec246ff643181a5cb7e90f61e3ac5bc2c33de7bbcd520393404231116e3093f033bc269a66bdb77dfe89f69b5ca74436ad149599b7bc10a068ad52883c10a1b9f5d4612c9d491bac14ae20fff2f34bf2564cc332a0616604d77772388dd27f0d5d15ec73a569908b57542bdac4edc1d3a10e9384f8d81dc34365667b7325b0637642b47155c64dfd37ecc5d63c716e94ab8e859ee4c37380dbff3871e977dcb693ada2f12fbfaf8949f1cecf8d3eaa9ddb951af9e2df6b9474ed853f316c152298e85e251510c0937698d6e49bd356bce9accc2a541a379aa46838fd2465da7d383a9220a20b8360063ca1c4731ea79a38b59c7f509e6c9ffbe9aae8ebd2035ff60bd9f7b2e36aa87c2c10b131a5e426f90d37eef2c45ed42560fe402b643d7db1ba8727886f2febb210446d71074efb2e12b04bb8d22eaf2e2e252e598ad64f2257b29f17b92b219c72e631eaabc2015ac208a6939026800a72e033c355ceb366abc01b1803deb736c2a97943c55f6533bd8ccd1ce1880697e29ebc860cec89158eb6636488ed6360322992bf3f6996d0eb66f63bc497cf10ed13a995fa80e93722819efde469a4d664fd633d9cf32301fb1caa9b7a91c9ddecd80e4566f3e079ba9e9c9a4cb799fc324a69dabe1797234fbce124a9c3bc7655e58fb173abe7cdda3066ea576f85946245d65832f8d93d2e5ed37dc3607147365189f10e6bbacb6a2a95125fe3955167a72e17e79b0a972177e129aa1da025b2b77264842ef80a32e622429b2df115baaa616819aa80ffaaf29d93f8c1c2e27adf00e2dbb7aade766ae528fc5ed10c05cbe2424a32268e436ee0e85d83c7eaf4190cdd85db6dd8035a0e2eb3b8ff432e8212b357857ff0413b22118912728389d3e321c6c734b34c6187105561efe69f812ae0ba081426806d44f51a60f6e7828bff4a62623b3f7ad334c8ac950450289d759e1895db4d8f2348dada6ef0adf0224fa3b4706adda0dbb0f9840ac23f450c21d5dd87a7ad2ec2519467caab64d9955dc4aea8dea882ad8e7b762285cd2a89477ed17b150ad20d4839f96c2d02fbbce3acf283a2e9a29fa9529036c31dc1ed36491c8836b206e39a518cbd909b62628eede353c28b600edf5f2da47ff2caa15b5aa1b7ce04224242a4ecc1f06658737a1220cac8aebf3cc64a01cdfba654bae1c93836d036cb3e2e0e01ee512ab6f6b8386db3c725409f7bb3132e3beb036ce283572437771386927faee5ffecd9cb53a4fd44373db02e45873254bf1af1c94c1908e7220cb03fc27133da034595dcd188bf9814875e28530bc1991c92ec704b42d58263622170311a5a3463e66cb7720fe8d2b2ac8216cc9408a0fe177d4ab5fb2feba16a23e1518ff6351b3afc9711662e838ad1867429e2afc168a267329a58f0795ee9dfde69c56f619c482440ba03ae2f5ecbbda343593abec95a7d6ffff63a78f7ea52bdd561745d2477e5b36592e83ba2f494497e7f6432b7c743e9fd6b00c410f9bb6891e68018d6fed64118fe7195b74eb470729d61c10f4a1aba5f8a632429996ef2182dcc872b4c59e58c0d28175baf56a9ed62bc13767a1fa3728f4abeda883e380cd9e41b44abe921d3c70f377c0c2790c005fe0912e1291e64b3762928d3dc7711771e889428b6bc0f42edb01c2791294f87aa8d0f63eeceedb056894108f91e821d938eadc2612bd54d96199bf8c7eb92a7a9aa2b53ba63826dd5067f7652f0ab72e7c1ac1f9d8051211038db6bdedd91df8d1073db7bd1e7e920fb0fc419965e1b5481247bbfac0a446bdc76661c6e6b99c96e8e0da07d5e4c5ed88544999b87db4ce8d67b285f32eb2522ca73d68acb67441b7d20ef98cff6bff8556b7ad496ddcf1e0cb8aa8bb5fa01088441ef42e42d7695bb97f9367572d592a1ac94e0a9e4ff1d3d00cec16337a7278bc7783dc285d59faef6d646cb5fe6d2464a83b997a58b673abcd32db4df9401e0a0ba7b892e6e01f9ea98d53bc40b3803b79ecc062cc6b0e01826182d769359888d31bea11596c0fdd8fa9b42ca7e9f9810e1ed8e0dac64267cb7b2f48adbaacced13605c99faff5203494b09d55a912f85f2750d7331336d69fada05a972cfd722317eaf1f90d2aa61fbb504560d1a5590ba4be82e6bf1caf2c186545493fb0f29bf9216b21a9e5475cf0d70f77e2bc7505084f68914abd98c3433a060771b2994c3704e2eaa52808699a130226bd79f5b8384608ad01717f487638e88b6547b22ef4c708048727610594d57a222e4f4eceb3f9f4bec6bcdaeddd1be778fa8244f11ed97ee00934008a7b4f051c8a1d2f9b6a3b45eeacc6a18013c152c04406cf98384de3699f4cea5554733f61a48a7d57be7c274c88d122b333873f9b5aaf3aff6583506d5d78272442328b7311c71db4b0bbdd74d92f1f429b44affbf382ba861cbcb5f900e9b64bf72b6b5197e907087d365632aac10df41e3d69442d6550a926000f1acdcac15dc534b15ec6b639894eccb7708ac66ff03bf08fe2696a4d6ab98f8f472cde91321c26502a4db1239b7ea0db38ae817e0bbb7f17b690104eca80de5a7b02b7f472a61366b4d95dd837e85d7279012e564ea80eeb450df4e6eeca3f11971cc3cdfa0fa98a994738f98be5d77d11e2d93cba02def82325fb7fb4b5bb240eb711098c7febd4ebca9a7949adaa0acc79bfb9213f36098fb14ece82310022796f86d4541727591384c8f3c4905be96d97f195d0d95db93183a8e4c4c8c66547ae3225102bebffb18244eeaac982b4995f0defcc1dfcf0ede58b94733104bfd96471357d00bb6c966caa4fbdb4b6fcc25e69561e12e0f2ffa0a5007d3d5338fc8b401013d029210e7c137dea6bf5e6ad6e64c47121a4658d693110d7eed9935e86bcdf56cea40902a716bcbf46fee34ca59caef690b49fd64b5785edc4e53d4ba331912c84c8deebf5b13a2eb72fda6f13c8edfbcc19d2b4d631d6810c28aa1bb7da0e13dd37e4c7a6f1fa5c61f105a7daa5e9b4825b8ef64a957098f8fe0029160ee31311f3382d3ee2f01eb5c2c2f2f0fb03383f3fa520088d1bdb3e78c7e07c32648135397dbef441012b267d3194a4a9b7d1a83a021eb50810c07d2ed403dc7fd8579b6ec65817952b5240019a2d7b5360a53952293f8ee172eb8e82e4158ac5af1e6da1a719a7e6cc86388f84179cf73077b7590c0020f9786f3e2bfb9f36c58466406095b6cac95c888fa3981b322234149f637a1c859f3e0b016c7e4bb1ed2f7bdeb4fecf84c91bf4e8196b6facc481f46a1ee1e7e5a052b82079c5b8687bba0ea6ac9020d3dc7769098383e6f02c8b8043606bd713fa5cbb6019363ca3fd1a918e0541b1e9e5da56bf07adc3f3e7ccf66d23d6495592c7fcd72d1535e8366e27b499a0c96ffdbbdd8978b94bf3debd887ebecb0233213ca1aa4690ab6fa355a9da26ef08ac89fb330921224646bdf929325b1e5e9fa464de9cc5ec206b8193e043cf4988f2988be2a98871ebd94a5665fdfbfa5e46e0e3598d66b6f5cdb7604e68b52e03f00beb721b95546a9f3d428c8fec56826ddf80a4b28ffc0f8f60fe1cf8143793e9266de17a9f1ddd861a254bba31e662e6d8a3cd9e4022548dd427bd16a741efdc9f9c87a8463b9e57bdac6c11385f03bdf1aa62b78a1381566d15156106d165afee890df08f544acae58f7f6b8b5a24c2e36ac4102a70f37b0856b7ef1bae1e7e93344ee5f32d9b8c5745d83c92561ecdcb970afd82a4833b9dbe5a83762374e8a5a35d48b0723f39da27e4c332b604432943e90e529790edf016e344a863ead0769de8ba154529625c5e6772713589f1279237616cf3452243d053843a23ea71cf5dcde6507ed3516f1c581fcd9ccb809ea23e8f8d2181a66ca1169591628163baa4c448b3b7dcd44ec9fa10d14988f8beadc1c36a5c5d9a4036211fc22b19cebc1ba85327f8efc52852fb97af9edc5c77310f7a14f7c2fbad8d9cc48809e7f8b21329e75e321e17182cb8b3f223d11c8883b5b79c44933d7af2c160a8d6cdcc2d837ee4888577ddf434ba971c31766e3e79be6dabbf437cc2dd80ee39cc896dd5f7cd272a38d0d61794aff59ad1d656a74c0cd2e6c33d4cbfd1469feb0d476538b359482509de6379fc6e7f08a128856a07e896eb2fbd4d5bfe8a5d36dd78d45429e978c657b8e37d34a9018fd69aa0f0a6d8195b90362a69db95eaffabaad9975bf7150e5f6e7a21bd2376e96509823010fd124d2557ec27c4e774ec9c790f56df91231ca1818a1f92c700bffbe1ffef93a0d1fb3c206e529d17410e1e0a0378f74bfc379ddde051b65875f111e6d9c12bdacba507593a78ddf9ef4886714bb27f2b9e6ea0d7010ce7886805ab4afc2ad9e832f87d0d82fce08d69ba1eb0db1a1cb9bf254d27485427b5d53746bc003b473ca0fe277e25f04b5d9b10a3c353357fd07cf06019950e4bd03e2ba6b130c7d506771da35e4bbf25a7174abfbc4884d6e45d33e38102ac1ea5806e4b2194145020bdcd50fb21578fdc28f11e18bd807950f6f8fa1c9722407b2cd8315a86a55c5efef9a947ae9cae38525b4ad4bc55a293ddf0085fa63f8926366987ec891a4e4f076f215845a47cdcb63a9b10d4e9d386eaa686b8ad818097e94f101c5fa62285d486b9365de2c896206cc776c3c4a19d9c703586100d62324f32e5dcbea8439932593df424efd0367bec02fdb2109ed27052e5fa36682987addc560909df896d8bb61284a7ed8329a072f9d07b9d84be4747aaffd3d5f4f2a29ce364b60be1f5af743b49b4817f80277f790947dee83754506c809d04c8925826d7e2fb4eb76ddba113d1fe6c2a7fa0c42a45952ba07ac8420a244826c059b045f44ba73481be9c5be08c2e7e2f0951dde3d64d114acaa0fe3ed9b67659b9573b272263bcfea5a1f91cb059d9b4ab00fad7f0f95ee0ad1d5ee0ec071c9d8aa4bc9c8a711515604760958fd3d93bf6559267bb5e9e2d67994f6ae406e5e41065ac7f558c25dc31faff0e069bcb1b98e25ae680f05d3a4ca5d642ded0419b7b4ac6797cb23d949a6f43e5352d634388491f8bc4482987b98df95c3e011160340eef453bd36c30e19db6978a679b57bafe330f989735d1531f5f6f7b8dd6499e3eba2a0495d885f38925f83ec9711271cc16b92981d9fcda9eb037b6e82457ff4f0c3518500454b789edd2752f325c96f14ec6f549260819d4a7fa09be47d219865a4ba7dc86ac45cf8fc45d19f25bf3357cff9b7cb24c1ed385da1ad33fba5a5a06d269b4bc26faab61178b7fb7d8375c3913647e707db742b6b7f34d0751392b0e53ae79db722dc9b2e67ab4c443ecb9e1ef79a6421af2193b1945e16fc4e026fe3171d5c76bb2921e85b4b6368949267f2d93dcbb39efd56a255e18eb59bc3395cea8f76a646ff2a2de5f9a1784a3ea761b1b98e63ec9daa0d840d226f32b48a3ed3e77c0d0050c60ac69d9641c29a0d1f11f7a28e8f3ce70c08f4734118c421646bc9bf3bca94a90832ebf0e576cd4cc67e2440c872dff34ef081dc893bb40abd0fe2a11369b231418fc30bd0de33e63c9fb24239644ea9d097dd18a64cae2eb0c2276308434024efc56ac2484d498a6389200d02bd01be502229ba877fbe607c53974d2a592682bcbf07778323b02e7129a57e99a256fc67c986d5ae310603ec6ec0880d8d682a3a97870cee1608abe455acb27cc0cb514f7a9e30c6a1c79b5bf7119987a8edc372bdc584463e13f369950313770a05cba83efd93e66a239c00eba3d745ce1b1b34888ca04ce313f6bb751456d659bbef5ff9c2d2b133a537214579026a2e101f330a4f0b9f332d984e8f5ecb3f78bc58712bbf87433c564dffbb29d5829cce0280c7e48698730d97058d20942ba85bc8cc9b22f70875508d4fd41928c5aa287d666af50b82464615d3cf63e4b8be7be0bd91e3063bd242530dfc73673b8403b64edbc419f071c980755b9ee892d6d3fd3466b83ce739bdc446a12cba77788df3d8b0aaf0017e889deb9ee9f851b855731e5dee00e463debac9848ae229247a24d725d7e341ebd301ce5270fce80c7eb734d630ad77f63552c720258a6b3567e88d12a5571c4c57f425876c3fc6c3c39ae5386952e0d56606d383fd8376dfa47504a88664078dd49d4c54151ecdd76fe6005581ee33a48c74a046f303c2a1a7a6b9bba97e9a47b560e9b1d4aa8261671a855e08a91df119839ffdf75da3b72c5dab0ad5a4acde378b94f09fe6c038c0cc5603d8329f97684bf4bf4cbab08a2f6caf9a84c1b8dcb4fe2e6c1284aca9f1de1287039f47bd417c3f94dd459193d2b3d8e0d11ce00913ac290a96580aa8af2b30952230886cd7739c11be80e38c16305241dd978ffdff3187d4e5f8927b97abbbb30bea6982ca926cecb118b62222989741f5f0c109466ee9906a9bdbdc781413d8f227de8a15725d659d9b6c1d4132fd9ccbfde173353180e89df95c784b7d04b0a88de0f2b017f5805c80e3c6634ea315dc49aa6432dc67f6ab65279b45dc1470b073ce8f117701202de2944fafccc4fe10fd1e2728293352c0717f9f114608e08d5b86b8d91501edf1c9b4c33df62b64916c039a416177359fbd08613b8436ea0d395c08e716e1fa667c600538c4e5b7e065506d517120c5f7111c07a11bb44d8564ff32365f25d27d046de889f0ab56e3b01aa86ed84d9dccd0eda5051679bd55c5fd76ad3e4c56f02d7e789d6fc0fec4092acf7c1b8fd44e2cac8d855c9e5b0911aaa8634d3dbb610feec1b7c63f2c0708065deadc14e8fd1d88545458a4c999185a8d5f9807b6cb398dd4d3f055d8726377251380a167a30f03ed6baf7ba838d16519f4f1f3b14869e3d13138184afd7c580c65c7ff27bbad3ad6362bd6f72dab27e5d86337c5632765ae9d600b3fdce7a7226a350c8a5d36a7d436a8b7df9b55be08e84913128067a3487245d88d8d18f287660c11801808b578694f3a5952b46fd8c5da2d61a0f2d884c51c5e233a30b9f9adbf0882799589e094288f490de7b91596c15957b00a519e48d03616a2b7721f368750266acab0c6e51521280895dfb0bd5d8c5473ff00e15bfaed0419ec716daa9c0c12f8764e784150f75efbeab99a728ce6bf872966a014b95bd2fe84383146d6c9b66b15f8a5deda7c65564477979159329424da9e5e7bf14c756ec031c92569f4f35586ab9eadae12090a36932e9234d1a9d5ae6bcc890e38b660de21f657067753630f875e7265646ac5e546fe25e06742591ad1a7344c9cca25d02af7bb01bdbedd5a15c41db699bfd27d9f587e7bf0d20141d73b885287419d58d9a841e89a8610dbe5fc42e8218bb3efd233a766cd20d77bb57009d9089ab061f90aabe805e0f3ccf573bae59fcb94210c698431c578925f12992914cb00b7867c8c50fa8752dd9c07ee054b17491d3ac86be453f6c4e11545a7ea79ff7e34cc8bf97b034ee4277258d7e3f345ba8436977e1d96962d2d41c247f337a78cd0177085e863f36396c53df0cacccd97a02527f6fbf3579a4dd17beed1ab0d24ab1e927b7e490c95b88cef38b09b143baf042748827622cd11aac700c73f4ea647e8320046f731649e303ff74e6fde00c5673e4774569ccd0f23ab57d1cfb8efc4632d8936883dd96614fee0bf52692bbc1564b378df2389f89ba31d8c588a6d68040a8f528a1ca44268a2bed5166600b4cfd0e96bf197dcb05023b032ef533d4e1458cd13bdb7849239def3a92f343bdd02ddb9bdcba53b1ea22a749d1eefbc39a1cfd70158c2dc12940f974c484de05b70512680292293fa19eb4321d5b38d7f4faf6d488cd9bd123cac97b951c932f481cefc789da98bd248470581dbded50352b9d45fde1d98f52dd40374ea03fe58039402eb94645e695f245885a9259ed50a2760fd6805607c8c574ebfc444a4388bd38ffc4a7c8cc2342f6af7b11a732b78ab54760fe63face9a4f749801e1e0de103e14db59b4fc145065ab46646c211b68a3637b6341f4977b1fe2aaaf13c5d9754b3beba8a5d62669b865a5a15e79587697aced909e530b22b7a973ae9ef335d0c39dd4c8a4d11a0428f41a838b7177918ed6270b7fbc1b8b9af5a83f3472f1b53f8db86091a215c317bb86f10da63010375a6d0116e9e4488cc32b21a73e9723b75f14e424578b24f6a0eed7f8647fe523c2340ae560d5e648d2761b42ce2ff5f9f2da1d9c34c0a86a5550e555e196000138a8a1ea8930860cad1f0e9730ec0c2e5212574a21755f0aeb7d43b2e57fd1611a0e57d576532364b79cc4513580601a10a522212b14e2945645951f94e10a257be1aa1f9f4a9c9c2bac874edaf9304cf225feb5226bcb1fa0e3dd04f4f1f50e15c42df3d55d6d46ec8feca4e3aeee0a5d2cbb61648b50e6e9bf6ff328cac75650e27a10849ae4b4ecc43d6414ebf92ec324a914d80f8715d54385b83f69a5e2c90b214e4071ff3a3d8f47c687eb769f0ef8d6acdd4b3511adab181c7bcdfa5618006e072af80840a9a5bfec38f7bd10d138e86d04edc6b4dfb6690c2e91dbed0208cbffcb97cffb504470851c9ccf1fa6c646d2f0967846cfae40005c905edb50d736d7490c19b1e4aa047a3f944e24a1ac6149b33a0fa4a3b7ebb13e48bfcbc9e04c56becc304e32597156d1d5e46cf98513652c10ad007c3c44b2df5ae256bddaceba40f3b6a7dc0b8adf27e4c7f5af3aeaf46cf039f9e61516d18e194171ceb684e9f4b50baad2730b85ffde4ce8448f6cbe99888a2dbe69d56e71f6be892c30969ef1c7e208a1cd9dcdab4daad68b92b65587e0d39311dbb5a104e30a9eb62a34edb1178b89880af8fa911db7e149c0847744596931da1e6702158f112b74d620d43282c5ba1acf9306c39c4c2aeac8f16fb2823410e6be7e8e201336d9a2a4398e2e270d8e504c9525f350b34a33a518d38f6550f7775e28c659ba3fb8138ef4bb1da8a2938ad37cacc81047e4ec5ebd755d90bf3b217d34af4280c9b51614224ed916fd619c0798efe3edaeb4396de596fc902a8c9a694f9fcfe49f55cac5bf47b4eea0bc79ae6f08ff44e3ac01bb02526925fcb3ce318e820603487fd7cb34815a4e107e3c14d506900144be358a506834e6692010740542f29d3fcf13bbb6083eb2f4493606b22dc9fb414e40bd816ef1f4f12e3b5b99ffa3de96f8079f21b0b70d20af4ab8ca6e9cfa1050331d02aa8165a7a35df7bc202da3e99591ad750099f62bf58855fa3a4049c76ded5de49e4f3014a88f419fd2f064a64c11d7aa5db4a2b15228127ac103996b12def2af166678436ea24d957cc925d837fc64481d4c8643b5f1d8f94626b7b223fa328516277a4d2f4adc2366fea8ee998e73b637f946bbc149c1a08ec7052e44860ca32652cc459185778d4327c9c228535d5eb532705a0ca1dbfcd0ca7403e619a0f0eb41929f200c3f409614c0ed7842ab81a7ebdb8bfad5900cdf6bace16ee18211c260eb8f55219e1c488a508a5fab50fbf7dbc3fd60b4d17f59ebdb951eb25e2be66e69d8d4e0f4ca5f49d9a0c83d1b5f47a526f2b69b56b2a1e08735e63456a1d5466d528d766e8e38d226487b02e9ba91b8f8f72fc88b1ae1146af6be119c1ab04a83afa7252d9991135d16d9ad97f10a1dac87a3b3e1eecaeee33c9064587ae1fa564dbd7701592066da4e3b111b4ab673a77bf2c8402c0608f0d9b8101c1626ccada76ee0473eb3ae8dad9547a5f2e79ebc10d7d5d27880465b260679f9ece5bd4d5fe69fb061d168958a0c867b79fc8371ed63be1a35a0143e6d612c21b8f5cb85e84b03ef657bd4897c8867f72f80787dce5e1e03bfd5ce01ee3ca253c6fbe208390661b56b02ceef2dc2a903bb54d0e6fe25a55500f37af33daea28620e7e2a3a8336fd416e4ab57067f02fa93f6f494865720b6a888b24ffc9f8872397de42826b1a87946ca1efa4739642b40a21a203e86573932edb0233f8d6b68b06116f22142c48c060f2b74adba9803931026373ad14413d7e0eae5b1cfd7828094c6bed1b66045b917570d3e937f41d3eec3055dd7a2ad5c40a98209dc8c0f3a862b577d850db4946588a1bdf8349d01f7407b7906378b757a770f9e9030b28cf188e96041539e43b2acb9a80c08306b9f42d266680b7b80c2b7062bc71824a27a13dcd10aba917cd3debc7cf71340e696df8b9cffcc620de11764532d0afd0bf45ae83bada247dfa6ac9633dac6c4dcdbdb5ad2cc22762992fc0c53c1d7261ffed4d6060a211e6dc0da73a7955cca8ee9eface607345601698ca427168f670fbc5614830492100499ffa39231516e8b1113d1aa5dae45aca2b3aa498d10aed803d3aa79bda7d23e46f95fb0f945f15ccbad52d27a7caddd37e5a55d56f4f48c14e5fdab4f1bf98c4a99f642aa814397555a1811faaf1e1423858ee5b37983c2ed730c0e1e4807c610a83ec141b5b0759dce0c8f08ec8c5900be808060666d32c9c79ae7397ef877d8fe3e55e034820ad4da6b298a59248d298bcfbe364cf42e93bbccfcc41534db40eff7752ca061eeb07ba4e542722df0370727883996aec01d4468d3f16de32de5

2.1. POST Request

curl -i -X POST -H 'Accept: application/json' http://localhost:9551/api/message/decrypt --data '301a4e9b534dc06e3d4461b5b44c42fecbebb69ccaabac35cbd00067a46ef8bf80aeded0bd9a3d94ec7338e1f0b8c7487d048a07254134bf5feb3cac7ce42be6462079323b184e40f19e3949b4cc83406980eecddcc4b40e8f2d5c2eb7e8bdf26ca149e8fe77e99bd78c5d90916942ed5ba2f52511b4bac95c4a53285745d163c8960fd4c590a59b2bdb518e5ce6b2425ffeb2eac885ac3fbce33905990b5593313156da1daf0a28ba7b9448dbdec4611bc4ec4b4443133b13a97ae5d9a5d48c3a90c5d89932eb5bc9f4375bac4767f7125d5867a955cc410fd74e068b5e7e4f87b07d50093837a98b85f6cc1a7fad90fe238648d39f8bf9038f07a00f0078410ec17e946c338a9a1974a7fbde473129c7ac43ffea400a212d10a3d834b961ca0c7f5983a6a930d95807098af8db467e001cede2070d0e687f5060a49cda695bcc3cabc350ecc4e057d7f9bc371d8877bbac6ee0b4153eadc417e60f4df73131ad28add83b537e8dbbcd75508830c1ed0df1d231edf440f0546bf364424abc985648c60cc7dd3cbd581163a43704c6c51ce5f6267affdebd3a89c1baed7e90bd68b6c9206773cf46e13fee3433a15e891b90ab916d03373abb03937bbe8c43ebac96da47cd9c2036edf40a43590e789ffc8a78bddc1602845d11e3620425ca4617713fcb6c3802b045b5c52885fc6021c645fe7c4bab9db2058d456f1a2e14acd3d25366301d4ef43311e0c4a9bc914ddb0db46485c5489d6bf07e6cb450ef7f9b3695b1732184ba921a73d6d2477f12b14c1b57316ba9087875bff4f444ae03b08512b8e41a826def5d41ad0b3a761e8573153f23d59fbbc4de561d2e43e09f4cb733d15adb6986f6d7f2f8638dad87f4c52dc726d9bcbad21d5f18bd24b3f4ba39ae2f5e5a16b254eba94baffaf2dc57fca47fda45ca0afecda3073681e1faa803cfb73aa13e1c18058030ab9861afe6d984bd22b3773ebcb48817c22d701b70c4336aa76d1da93303910dab8fcdb7261cdaa334953e1f3a733ac961c1f090254e7ec8e5431957aae7e1140ccc69213ec15f6747f88abfb2912394f2527abc5bf3c542ff195afa865774cbd6d075dec246ff643181a5cb7e90f61e3ac5bc2c33de7bbcd520393404231116e3093f033bc269a66bdb77dfe89f69b5ca74436ad149599b7bc10a068ad52883c10a1b9f5d4612c9d491bac14ae20fff2f34bf2564cc332a0616604d77772388dd27f0d5d15ec73a569908b57542bdac4edc1d3a10e9384f8d81dc34365667b7325b0637642b47155c64dfd37ecc5d63c716e94ab8e859ee4c37380dbff3871e977dcb693ada2f12fbfaf8949f1cecf8d3eaa9ddb951af9e2df6b9474ed853f316c152298e85e251510c0937698d6e49bd356bce9accc2a541a379aa46838fd2465da7d383a9220a20b8360063ca1c4731ea79a38b59c7f509e6c9ffbe9aae8ebd2035ff60bd9f7b2e36aa87c2c10b131a5e426f90d37eef2c45ed42560fe402b643d7db1ba8727886f2febb210446d71074efb2e12b04bb8d22eaf2e2e252e598ad64f2257b29f17b92b219c72e631eaabc2015ac208a6939026800a72e033c355ceb366abc01b1803deb736c2a97943c55f6533bd8ccd1ce1880697e29ebc860cec89158eb6636488ed6360322992bf3f6996d0eb66f63bc497cf10ed13a995fa80e93722819efde469a4d664fd633d9cf32301fb1caa9b7a91c9ddecd80e4566f3e079ba9e9c9a4cb799fc324a69dabe1797234fbce124a9c3bc7655e58fb173abe7cdda3066ea576f85946245d65832f8d93d2e5ed37dc3607147365189f10e6bbacb6a2a95125fe3955167a72e17e79b0a972177e129aa1da025b2b77264842ef80a32e622429b2df115baaa616819aa80ffaaf29d93f8c1c2e27adf00e2dbb7aade766ae528fc5ed10c05cbe2424a32268e436ee0e85d83c7eaf4190cdd85db6dd8035a0e2eb3b8ff432e8212b357857ff0413b22118912728389d3e321c6c734b34c6187105561efe69f812ae0ba081426806d44f51a60f6e7828bff4a62623b3f7ad334c8ac950450289d759e1895db4d8f2348dada6ef0adf0224fa3b4706adda0dbb0f9840ac23f450c21d5dd87a7ad2ec2519467caab64d9955dc4aea8dea882ad8e7b762285cd2a89477ed17b150ad20d4839f96c2d02fbbce3acf283a2e9a29fa9529036c31dc1ed36491c8836b206e39a518cbd909b62628eede353c28b600edf5f2da47ff2caa15b5aa1b7ce04224242a4ecc1f06658737a1220cac8aebf3cc64a01cdfba654bae1c93836d036cb3e2e0e01ee512ab6f6b8386db3c725409f7bb3132e3beb036ce283572437771386927faee5ffecd9cb53a4fd44373db02e45873254bf1af1c94c1908e7220cb03fc27133da034595dcd188bf9814875e28530bc1991c92ec704b42d58263622170311a5a3463e66cb7720fe8d2b2ac8216cc9408a0fe177d4ab5fb2feba16a23e1518ff6351b3afc9711662e838ad1867429e2afc168a267329a58f0795ee9dfde69c56f619c482440ba03ae2f5ecbbda343593abec95a7d6ffff63a78f7ea52bdd561745d2477e5b36592e83ba2f494497e7f6432b7c743e9fd6b00c410f9bb6891e68018d6fed64118fe7195b74eb470729d61c10f4a1aba5f8a632429996ef2182dcc872b4c59e58c0d28175baf56a9ed62bc13767a1fa3728f4abeda883e380cd9e41b44abe921d3c70f377c0c2790c005fe0912e1291e64b3762928d3dc7711771e889428b6bc0f42edb01c2791294f87aa8d0f63eeceedb056894108f91e821d938eadc2612bd54d96199bf8c7eb92a7a9aa2b53ba63826dd5067f7652f0ab72e7c1ac1f9d8051211038db6bdedd91df8d1073db7bd1e7e920fb0fc419965e1b5481247bbfac0a446bdc76661c6e6b99c96e8e0da07d5e4c5ed88544999b87db4ce8d67b285f32eb2522ca73d68acb67441b7d20ef98cff6bff8556b7ad496ddcf1e0cb8aa8bb5fa01088441ef42e42d7695bb97f9367572d592a1ac94e0a9e4ff1d3d00cec16337a7278bc7783dc285d59faef6d646cb5fe6d2464a83b997a58b673abcd32db4df9401e0a0ba7b892e6e01f9ea98d53bc40b3803b79ecc062cc6b0e01826182d769359888d31bea11596c0fdd8fa9b42ca7e9f9810e1ed8e0dac64267cb7b2f48adbaacced13605c99faff5203494b09d55a912f85f2750d7331336d69fada05a972cfd722317eaf1f90d2aa61fbb504560d1a5590ba4be82e6bf1caf2c186545493fb0f29bf9216b21a9e5475cf0d70f77e2bc7505084f68914abd98c3433a060771b2994c3704e2eaa52808699a130226bd79f5b8384608ad01717f487638e88b6547b22ef4c708048727610594d57a222e4f4eceb3f9f4bec6bcdaeddd1be778fa8244f11ed97ee00934008a7b4f051c8a1d2f9b6a3b45eeacc6a18013c152c04406cf98384de3699f4cea5554733f61a48a7d57be7c274c88d122b333873f9b5aaf3aff6583506d5d78272442328b7311c71db4b0bbdd74d92f1f429b44affbf382ba861cbcb5f900e9b64bf72b6b5197e907087d365632aac10df41e3d69442d6550a926000f1acdcac15dc534b15ec6b639894eccb7708ac66ff03bf08fe2696a4d6ab98f8f472cde91321c26502a4db1239b7ea0db38ae817e0bbb7f17b690104eca80de5a7b02b7f472a61366b4d95dd837e85d7279012e564ea80eeb450df4e6eeca3f11971cc3cdfa0fa98a994738f98be5d77d11e2d93cba02def82325fb7fb4b5bb240eb711098c7febd4ebca9a7949adaa0acc79bfb9213f36098fb14ece82310022796f86d4541727591384c8f3c4905be96d97f195d0d95db93183a8e4c4c8c66547ae3225102bebffb18244eeaac982b4995f0defcc1dfcf0ede58b94733104bfd96471357d00bb6c966caa4fbdb4b6fcc25e69561e12e0f2ffa0a5007d3d5338fc8b401013d029210e7c137dea6bf5e6ad6e64c47121a4658d693110d7eed9935e86bcdf56cea40902a716bcbf46fee34ca59caef690b49fd64b5785edc4e53d4ba331912c84c8deebf5b13a2eb72fda6f13c8edfbcc19d2b4d631d6810c28aa1bb7da0e13dd37e4c7a6f1fa5c61f105a7daa5e9b4825b8ef64a957098f8fe0029160ee31311f3382d3ee2f01eb5c2c2f2f0fb03383f3fa520088d1bdb3e78c7e07c32648135397dbef441012b267d3194a4a9b7d1a83a021eb50810c07d2ed403dc7fd8579b6ec65817952b5240019a2d7b5360a53952293f8ee172eb8e82e4158ac5af1e6da1a719a7e6cc86388f84179cf73077b7590c0020f9786f3e2bfb9f36c58466406095b6cac95c888fa3981b322234149f637a1c859f3e0b016c7e4bb1ed2f7bdeb4fecf84c91bf4e8196b6facc481f46a1ee1e7e5a052b82079c5b8687bba0ea6ac9020d3dc7769098383e6f02c8b8043606bd713fa5cbb6019363ca3fd1a918e0541b1e9e5da56bf07adc3f3e7ccf66d23d6495592c7fcd72d1535e8366e27b499a0c96ffdbbdd8978b94bf3debd887ebecb0233213ca1aa4690ab6fa355a9da26ef08ac89fb330921224646bdf929325b1e5e9fa464de9cc5ec206b8193e043cf4988f2988be2a98871ebd94a5665fdfbfa5e46e0e3598d66b6f5cdb7604e68b52e03f00beb721b95546a9f3d428c8fec56826ddf80a4b28ffc0f8f60fe1cf8143793e9266de17a9f1ddd861a254bba31e662e6d8a3cd9e4022548dd427bd16a741efdc9f9c87a8463b9e57bdac6c11385f03bdf1aa62b78a1381566d15156106d165afee890df08f544acae58f7f6b8b5a24c2e36ac4102a70f37b0856b7ef1bae1e7e93344ee5f32d9b8c5745d83c92561ecdcb970afd82a4833b9dbe5a83762374e8a5a35d48b0723f39da27e4c332b604432943e90e529790edf016e344a863ead0769de8ba154529625c5e6772713589f1279237616cf3452243d053843a23ea71cf5dcde6507ed3516f1c581fcd9ccb809ea23e8f8d2181a66ca1169591628163baa4c448b3b7dcd44ec9fa10d14988f8beadc1c36a5c5d9a4036211fc22b19cebc1ba85327f8efc52852fb97af9edc5c77310f7a14f7c2fbad8d9cc48809e7f8b21329e75e321e17182cb8b3f223d11c8883b5b79c44933d7af2c160a8d6cdcc2d837ee4888577ddf434ba971c31766e3e79be6dabbf437cc2dd80ee39cc896dd5f7cd272a38d0d61794aff59ad1d656a74c0cd2e6c33d4cbfd1469feb0d476538b359482509de6379fc6e7f08a128856a07e896eb2fbd4d5bfe8a5d36dd78d45429e978c657b8e37d34a9018fd69aa0f0a6d8195b90362a69db95eaffabaad9975bf7150e5f6e7a21bd2376e96509823010fd124d2557ec27c4e774ec9c790f56df91231ca1818a1f92c700bffbe1ffef93a0d1fb3c206e529d17410e1e0a0378f74bfc379ddde051b65875f111e6d9c12bdacba507593a78ddf9ef4886714bb27f2b9e6ea0d7010ce7886805ab4afc2ad9e832f87d0d82fce08d69ba1eb0db1a1cb9bf254d27485427b5d53746bc003b473ca0fe277e25f04b5d9b10a3c353357fd07cf06019950e4bd03e2ba6b130c7d506771da35e4bbf25a7174abfbc4884d6e45d33e38102ac1ea5806e4b2194145020bdcd50fb21578fdc28f11e18bd807950f6f8fa1c9722407b2cd8315a86a55c5efef9a947ae9cae38525b4ad4bc55a293ddf0085fa63f8926366987ec891a4e4f076f215845a47cdcb63a9b10d4e9d386eaa686b8ad818097e94f101c5fa62285d486b9365de2c896206cc776c3c4a19d9c703586100d62324f32e5dcbea8439932593df424efd0367bec02fdb2109ed27052e5fa36682987addc560909df896d8bb61284a7ed8329a072f9d07b9d84be4747aaffd3d5f4f2a29ce364b60be1f5af743b49b4817f80277f790947dee83754506c809d04c8925826d7e2fb4eb76ddba113d1fe6c2a7fa0c42a45952ba07ac8420a244826c059b045f44ba73481be9c5be08c2e7e2f0951dde3d64d114acaa0fe3ed9b67659b9573b272263bcfea5a1f91cb059d9b4ab00fad7f0f95ee0ad1d5ee0ec071c9d8aa4bc9c8a711515604760958fd3d93bf6559267bb5e9e2d67994f6ae406e5e41065ac7f558c25dc31faff0e069bcb1b98e25ae680f05d3a4ca5d642ded0419b7b4ac6797cb23d949a6f43e5352d634388491f8bc4482987b98df95c3e011160340eef453bd36c30e19db6978a679b57bafe330f989735d1531f5f6f7b8dd6499e3eba2a0495d885f38925f83ec9711271cc16b92981d9fcda9eb037b6e82457ff4f0c3518500454b789edd2752f325c96f14ec6f549260819d4a7fa09be47d219865a4ba7dc86ac45cf8fc45d19f25bf3357cff9b7cb24c1ed385da1ad33fba5a5a06d269b4bc26faab61178b7fb7d8375c3913647e707db742b6b7f34d0751392b0e53ae79db722dc9b2e67ab4c443ecb9e1ef79a6421af2193b1945e16fc4e026fe3171d5c76bb2921e85b4b6368949267f2d93dcbb39efd56a255e18eb59bc3395cea8f76a646ff2a2de5f9a1784a3ea761b1b98e63ec9daa0d840d226f32b48a3ed3e77c0d0050c60ac69d9641c29a0d1f11f7a28e8f3ce70c08f4734118c421646bc9bf3bca94a90832ebf0e576cd4cc67e2440c872dff34ef081dc893bb40abd0fe2a11369b231418fc30bd0de33e63c9fb24239644ea9d097dd18a64cae2eb0c2276308434024efc56ac2484d498a6389200d02bd01be502229ba877fbe607c53974d2a592682bcbf07778323b02e7129a57e99a256fc67c986d5ae310603ec6ec0880d8d682a3a97870cee1608abe455acb27cc0cb514f7a9e30c6a1c79b5bf7119987a8edc372bdc584463e13f369950313770a05cba83efd93e66a239c00eba3d745ce1b1b34888ca04ce313f6bb751456d659bbef5ff9c2d2b133a537214579026a2e101f330a4f0b9f332d984e8f5ecb3f78bc58712bbf87433c564dffbb29d5829cce0280c7e48698730d97058d20942ba85bc8cc9b22f70875508d4fd41928c5aa287d666af50b82464615d3cf63e4b8be7be0bd91e3063bd242530dfc73673b8403b64edbc419f071c980755b9ee892d6d3fd3466b83ce739bdc446a12cba77788df3d8b0aaf0017e889deb9ee9f851b855731e5dee00e463debac9848ae229247a24d725d7e341ebd301ce5270fce80c7eb734d630ad77f63552c720258a6b3567e88d12a5571c4c57f425876c3fc6c3c39ae5386952e0d56606d383fd8376dfa47504a88664078dd49d4c54151ecdd76fe6005581ee33a48c74a046f303c2a1a7a6b9bba97e9a47b560e9b1d4aa8261671a855e08a91df119839ffdf75da3b72c5dab0ad5a4acde378b94f09fe6c038c0cc5603d8329f97684bf4bf4cbab08a2f6caf9a84c1b8dcb4fe2e6c1284aca9f1de1287039f47bd417c3f94dd459193d2b3d8e0d11ce00913ac290a96580aa8af2b30952230886cd7739c11be80e38c16305241dd978ffdff3187d4e5f8927b97abbbb30bea6982ca926cecb118b62222989741f5f0c109466ee9906a9bdbdc781413d8f227de8a15725d659d9b6c1d4132fd9ccbfde173353180e89df95c784b7d04b0a88de0f2b017f5805c80e3c6634ea315dc49aa6432dc67f6ab65279b45dc1470b073ce8f117701202de2944fafccc4fe10fd1e2728293352c0717f9f114608e08d5b86b8d91501edf1c9b4c33df62b64916c039a416177359fbd08613b8436ea0d395c08e716e1fa667c600538c4e5b7e065506d517120c5f7111c07a11bb44d8564ff32365f25d27d046de889f0ab56e3b01aa86ed84d9dccd0eda5051679bd55c5fd76ad3e4c56f02d7e789d6fc0fec4092acf7c1b8fd44e2cac8d855c9e5b0911aaa8634d3dbb610feec1b7c63f2c0708065deadc14e8fd1d88545458a4c999185a8d5f9807b6cb398dd4d3f055d8726377251380a167a30f03ed6baf7ba838d16519f4f1f3b14869e3d13138184afd7c580c65c7ff27bbad3ad6362bd6f72dab27e5d86337c5632765ae9d600b3fdce7a7226a350c8a5d36a7d436a8b7df9b55be08e84913128067a3487245d88d8d18f287660c11801808b578694f3a5952b46fd8c5da2d61a0f2d884c51c5e233a30b9f9adbf0882799589e094288f490de7b91596c15957b00a519e48d03616a2b7721f368750266acab0c6e51521280895dfb0bd5d8c5473ff00e15bfaed0419ec716daa9c0c12f8764e784150f75efbeab99a728ce6bf872966a014b95bd2fe84383146d6c9b66b15f8a5deda7c65564477979159329424da9e5e7bf14c756ec031c92569f4f35586ab9eadae12090a36932e9234d1a9d5ae6bcc890e38b660de21f657067753630f875e7265646ac5e546fe25e06742591ad1a7344c9cca25d02af7bb01bdbedd5a15c41db699bfd27d9f587e7bf0d20141d73b885287419d58d9a841e89a8610dbe5fc42e8218bb3efd233a766cd20d77bb57009d9089ab061f90aabe805e0f3ccf573bae59fcb94210c698431c578925f12992914cb00b7867c8c50fa8752dd9c07ee054b17491d3ac86be453f6c4e11545a7ea79ff7e34cc8bf97b034ee4277258d7e3f345ba8436977e1d96962d2d41c247f337a78cd0177085e863f36396c53df0cacccd97a02527f6fbf3579a4dd17beed1ab0d24ab1e927b7e490c95b88cef38b09b143baf042748827622cd11aac700c73f4ea647e8320046f731649e303ff74e6fde00c5673e4774569ccd0f23ab57d1cfb8efc4632d8936883dd96614fee0bf52692bbc1564b378df2389f89ba31d8c588a6d68040a8f528a1ca44268a2bed5166600b4cfd0e96bf197dcb05023b032ef533d4e1458cd13bdb7849239def3a92f343bdd02ddb9bdcba53b1ea22a749d1eefbc39a1cfd70158c2dc12940f974c484de05b70512680292293fa19eb4321d5b38d7f4faf6d488cd9bd123cac97b951c932f481cefc789da98bd248470581dbded50352b9d45fde1d98f52dd40374ea03fe58039402eb94645e695f245885a9259ed50a2760fd6805607c8c574ebfc444a4388bd38ffc4a7c8cc2342f6af7b11a732b78ab54760fe63face9a4f749801e1e0de103e14db59b4fc145065ab46646c211b68a3637b6341f4977b1fe2aaaf13c5d9754b3beba8a5d62669b865a5a15e79587697aced909e530b22b7a973ae9ef335d0c39dd4c8a4d11a0428f41a838b7177918ed6270b7fbc1b8b9af5a83f3472f1b53f8db86091a215c317bb86f10da63010375a6d0116e9e4488cc32b21a73e9723b75f14e424578b24f6a0eed7f8647fe523c2340ae560d5e648d2761b42ce2ff5f9f2da1d9c34c0a86a5550e555e196000138a8a1ea8930860cad1f0e9730ec0c2e5212574a21755f0aeb7d43b2e57fd1611a0e57d576532364b79cc4513580601a10a522212b14e2945645951f94e10a257be1aa1f9f4a9c9c2bac874edaf9304cf225feb5226bcb1fa0e3dd04f4f1f50e15c42df3d55d6d46ec8feca4e3aeee0a5d2cbb61648b50e6e9bf6ff328cac75650e27a10849ae4b4ecc43d6414ebf92ec324a914d80f8715d54385b83f69a5e2c90b214e4071ff3a3d8f47c687eb769f0ef8d6acdd4b3511adab181c7bcdfa5618006e072af80840a9a5bfec38f7bd10d138e86d04edc6b4dfb6690c2e91dbed0208cbffcb97cffb504470851c9ccf1fa6c646d2f0967846cfae40005c905edb50d736d7490c19b1e4aa047a3f944e24a1ac6149b33a0fa4a3b7ebb13e48bfcbc9e04c56becc304e32597156d1d5e46cf98513652c10ad007c3c44b2df5ae256bddaceba40f3b6a7dc0b8adf27e4c7f5af3aeaf46cf039f9e61516d18e194171ceb684e9f4b50baad2730b85ffde4ce8448f6cbe99888a2dbe69d56e71f6be892c30969ef1c7e208a1cd9dcdab4daad68b92b65587e0d39311dbb5a104e30a9eb62a34edb1178b89880af8fa911db7e149c0847744596931da1e6702158f112b74d620d43282c5ba1acf9306c39c4c2aeac8f16fb2823410e6be7e8e201336d9a2a4398e2e270d8e504c9525f350b34a33a518d38f6550f7775e28c659ba3fb8138ef4bb1da8a2938ad37cacc81047e4ec5ebd755d90bf3b217d34af4280c9b51614224ed916fd619c0798efe3edaeb4396de596fc902a8c9a694f9fcfe49f55cac5bf47b4eea0bc79ae6f08ff44e3ac01bb02526925fcb3ce318e820603487fd7cb34815a4e107e3c14d506900144be358a506834e6692010740542f29d3fcf13bbb6083eb2f4493606b22dc9fb414e40bd816ef1f4f12e3b5b99ffa3de96f8079f21b0b70d20af4ab8ca6e9cfa1050331d02aa8165a7a35df7bc202da3e99591ad750099f62bf58855fa3a4049c76ded5de49e4f3014a88f419fd2f064a64c11d7aa5db4a2b15228127ac103996b12def2af166678436ea24d957cc925d837fc64481d4c8643b5f1d8f94626b7b223fa328516277a4d2f4adc2366fea8ee998e73b637f946bbc149c1a08ec7052e44860ca32652cc459185778d4327c9c228535d5eb532705a0ca1dbfcd0ca7403e619a0f0eb41929f200c3f409614c0ed7842ab81a7ebdb8bfad5900cdf6bace16ee18211c260eb8f55219e1c488a508a5fab50fbf7dbc3fd60b4d17f59ebdb951eb25e2be66e69d8d4e0f4ca5f49d9a0c83d1b5f47a526f2b69b56b2a1e08735e63456a1d5466d528d766e8e38d226487b02e9ba91b8f8f72fc88b1ae1146af6be119c1ab04a83afa7252d9991135d16d9ad97f10a1dac87a3b3e1eecaeee33c9064587ae1fa564dbd7701592066da4e3b111b4ab673a77bf2c8402c0608f0d9b8101c1626ccada76ee0473eb3ae8dad9547a5f2e79ebc10d7d5d27880465b260679f9ece5bd4d5fe69fb061d168958a0c867b79fc8371ed63be1a35a0143e6d612c21b8f5cb85e84b03ef657bd4897c8867f72f80787dce5e1e03bfd5ce01ee3ca253c6fbe208390661b56b02ceef2dc2a903bb54d0e6fe25a55500f37af33daea28620e7e2a3a8336fd416e4ab57067f02fa93f6f494865720b6a888b24ffc9f8872397de42826b1a87946ca1efa4739642b40a21a203e86573932edb0233f8d6b68b06116f22142c48c060f2b74adba9803931026373ad14413d7e0eae5b1cfd7828094c6bed1b66045b917570d3e937f41d3eec3055dd7a2ad5c40a98209dc8c0f3a862b577d850db4946588a1bdf8349d01f7407b7906378b757a770f9e9030b28cf188e96041539e43b2acb9a80c08306b9f42d266680b7b80c2b7062bc71824a27a13dcd10aba917cd3debc7cf71340e696df8b9cffcc620de11764532d0afd0bf45ae83bada247dfa6ac9633dac6c4dcdbdb5ad2cc22762992fc0c53c1d7261ffed4d6060a211e6dc0da73a7955cca8ee9eface607345601698ca427168f670fbc5614830492100499ffa39231516e8b1113d1aa5dae45aca2b3aa498d10aed803d3aa79bda7d23e46f95fb0f945f15ccbad52d27a7caddd37e5a55d56f4f48c14e5fdab4f1bf98c4a99f642aa814397555a1811faaf1e1423858ee5b37983c2ed730c0e1e4807c610a83ec141b5b0759dce0c8f08ec8c5900be808060666d32c9c79ae7397ef877d8fe3e55e034820ad4da6b298a59248d298bcfbe364cf42e93bbccfcc41534db40eff7752ca061eeb07ba4e542722df0370727883996aec01d4468d3f16de32de5'

2.1. POST Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Sat, 19 Oct 2024 12:19:06 GMT
Transfer-Encoding: chunked

{"alias_name":"IAM","pld_head":24446321,"hex_data":"68656c6c6f2c20776f726c6421"}

3. /api/service/pubkey

3.1. GET Request

curl -i -X GET -H 'Accept: application/json' 'http://localhost:9551/api/service/pubkey'

3.1. GET Response

HTTP/1.1 200 OK
Content-Type: text/plain
Date: Sat, 23 Dec 2023 14:51:11 GMT
Content-Length: 1060

PubKey{02EC397B1B2351A59941115FBB93268D84B807119166A091DFEA3D9CFA4028B1ADD5A98A0E651351539C2139C2A79B2FB54C32E6C874C5DA76EB2368DFDB4C7805BD7F0B3DAD9A944E6172A713144FB91837A71120F78B3016B599FA899EA606B839A7C2B81CCE23068A6A48428699005DB6DC2B570B619DACC2A05783C0E27B2906904220607AB10313934CAF3BB40B78590F482133E917828A904B11E14355E50B404B848524389041BD0B87C02079158F9C4928BB68E4D18D96C68E248C090E3A71AB71C5F10BAB6B25445179999B32723574B25AE8117F9B681DE76004155B5286A05183196838383CEA09AFA2B81D4757C4C3A04EBA7299628BDDE312B0F982C8E917CB5418E7E83D1E05144800C41CA544CF516D5AC2B448573B691240B52409DFBA57B1554C1658423DB67CB2F122D8BA2610293020A75B62497BED3B5F919ACF8B73C6FFA21F4A6B6DF5215E3364A32BAA5DC29212B951BBD77C8ED184AE4339C0626B3B22AB391671148464B0C3717B6DB1CF241A25CE018DD2CA428F634F1A16B091C573D7958649082DF6E0CB02880C4376B470263D2A5842FA4AA823043A62B9C9407B2604A147B543524CB427D7787477168B89AA71A092356DA11C37301176AA907E100BEAF4AAFEC1CC78860DC6BB3ECD1A6170E6A560935B0E1B5CE8A889EB41349D3152135AAFE08B8AD5DBB95692CFCA3A801884758EAB4C54A4BC18500FE167886056C07BE9B69C86009AB11AEDCC1066430E03640D9AB444683C93D61C6B3A862CF2351FB69CC2E1C183DD530892FB6668B67828112F86556C4AD1605CA0A579C62101CA8908C260B4D76349949E7038A21B90383432727694BD4A958242CB1E199B48274CBDB2FCACA729903D4A1160E6B87F0B9AA2A3BCCBB39353135E54E659ADCA16A8822F2E4214A128502C25573EC56D0AC8AEF123A5A159AFB5140C9279A45725A0CAC026FADB6CA8909234E86DADB228C4307B48258B7C885428CC909B88AEF495B2440B3C682870E6D795C6D10BCE11134EA94C4A5419F6056915D0A77A0C78FC09685A6430B5F894EDC050F744047AF382DF6B14B5823C354767EF2C4DAFF1B0F888B97AB48661D527A50703E553847C0BA148ABAF24F371F64BCFB1945F435056D3299C4D240708E1AC16065C11D557D804709BA86DF930445210B3FDB82DBED6A26774CDC442184D049128374388778A71188D79A1491EB32270016E4A243D47576073F64547E665A4166D44EA48FEAABAFBC006FD61065B24822879B536878AA8E9206ED230B8A4B67056BA42983C047282DBCC963108A0E7BB2CA055319965A5CA7B3CBC0176A4245009FC16171426E01ABED46C4FC56C456D7947BA48B0F1A808976954749580D9456A47B2818B362AF5C13A8C65C10DC364AE430740F40C324C8F01F9464B498CB4054EA9404EAD057DD61C8495A99155647D5162760AF3156948AEBA56451D94CC7517CC8EC9CBE107438653333377C267C808E9CC37469A8CF9A4138E4A1B1A6A3C5508A9C2F09CBC196F9A110B43290F4716A9BECB0F3C896648D7C53516C67B198D78B31A6B65BF6E824D5BF75049D998F19C41326A7EBB69B2D27934B999B6A2C1694F76BBBC596410CBBA4409DDA35CA1A8B289FE3FBA643150405F043D29A69F7A809D5242D22013DD33C35A5C3DE74F231DA8482AF824FF003A14E6CAB4FA73E3FB1FA35B232A8C86C4032E182A9E87DB2E34BF5080698F38338457F858C0DD55058F21B74350D26A82BD128114A050157CBEB6EE9CB7CD23E24DE970FE6507D69EA3D49F21199FF2CBEC9598D6444C05730B07389229FCB4FB562207853DDD1F9D0C0E3B12A89294E0E40E69212D7CFAF69DDF5CBB1CC3A8728B473001C1F1D52CF0E1D9D1DBC1914A9F9A21CD99EE6FD1571A3685EDD92392C25BBF5313029C94FB06710CD200223CA8E410134C15FDDEBDFD87D5B1E36697E7A526CC1378DBFD8C1808C49DED8824C88BC381817378792C40E6469ECEF13E433472CD5EEC40FCBA98BB94D375FE5F8BBAED732E90B31EAE8E13B212974791DA521517E264EF497FB564827FC6A4BDAFA60BACE622D59FC9D46A05D3D9643EEEE608A277D15356298969F6CA2E3CB8DE33075032F623A1C3670940D97BB7A1547DBC2FFFF6346CCE9940AC870E05A8032D532AD85EA086E6584F99EACD0C19D03BDFFFC7A58590E1E01DB97B4BB4790B07095C3BD0033A93C79697B6956A6C2633B4DCE9CC6DF98C62E1485CC66A55D694A3785CB4470AA7BA27DD4D5297F6BB2F89870C68480E43A7B0822D75BE35D16C2874A2A2B536A6506672902BA034C1258E083446CAC8236213B8BD25816FB33529559DE6D8F90B1B43E22D7C2F1940FD7D8B9E4C33C22296DB4D15D78AB90DFB36E7C611B209197ED657810B93B65CD4F734D255EB8CE44D6A4BF0BD8BDD190ABF9BB192BAEE692327CB7FB5F9AFC9683F4D8560DDA7F00EF15081A9D220D7F4EDDEE23D5A532ACBA890D1E7F3DE1D09F9BEF0422D806A140F76D06C002D58B833653C19BA3A9AFB083CD34282028EB89A7EB5EDEAF87644C14FBA20C627815D20DEDCB581F2E25BB9D05FC9A22583A7F13E249F7E96F4CA6E4E77B45AE1BFEE8C351B66ABB471817C590144D84F6180AC7C0BD57146CA1C028E9AA4539E61D5E381CD9BC7F4E38DBAFAE79783839D8D2693B94721FA76728AA7772AEC74AC56376C1887B08E50CE3DED1A0C218F52A15274BBFF019EF4454B8904AFEF55E167E511EB837327062F843726AC713133358C4D978A59F8F01D059A731E66260FF1900E38684A239681FFCA91655093EDDA4C48CA19F7551D7685F110AF09FBA61446E29357596DB4E2E98E68BC6600D35360EA547C769D73BA9B172EE7043F07AFBB12244E562F195BCB1DE066A7A39A89AAC5E0517125553194FAFCEB2C62EC1371540CEB1881E75AF275FE514AC082D9ACAD75737E6DEC0A2628DC5E2613BFDE074075BC2859025F5138A234AA9140AFDED02569E89449E73394CA520587BA3961B8DC75E42BCA31C1DA22D72A371F78241E08A7F1FE3153B13B18A88AC461750B79E4A88E641DD2164923866FFE6BA7F0FD2D2E37B5AC6076C5646BF1D7C3DD692B8015400DA29413A9DF48817829E76A8D8362C0C7CDCAF163017D821353099B4D9F071E4604FB822EF3DF7D621B8322230A9D63CEAAAF43C33F5297AE1270A82BEE5DFF8E12A0061A8718763B058DFE2C33BB179233F4A1F5A57352FD09645D42559FF89DBC9EF4713B0B8CD8EA1ADAF74B2589BACF01343FA805C75DF4821BCFCD9D0E9F310C53BDCE340D6F8F243F68EFE693538E28FDF2F4E429AD060D28708526F47C2CDA28B1E5E612A50C3AD5D6BA5C0EF9D74C3EACB5F963F15BCFE2432869C9BDB4465E07B3FD878FEB1EB0CFC5C682E8379FB2FC234E06056878864E349318E40AB8DCFF7AA5185E4AEEED997DCC995E1675346C66E9E60E94BB7FC4BF2876498AE66B4C392AE35C2CFEC39980F2AE9F28601667E20AC1E485938ED734CEFA3CDD9789821BEB8D5ECA979D4B0D75520A89FF5C2C1353300C806917C16FE2FBD30249399445ED9D3125259EF77A106FBC25C4BC68659EE939FA87618227CD635EBB3A4DF446FCF953808A0DFA9FEC5600322D78922A1A28517E3F2A1BBC55E4768E89A5BA3DBA3EDCD5F75924B81977BC2F6EC1F5F24AB239D47E53995EB20DE18C30E0754DCE8D28EC84C3D77A444FE3A49CB0AA7F2E2C2CB79C74B54A5A019C11E73BB19FD307A8B9EE23A6848D6A3400F4958A9FD1376185DB281D23B27C5C57A5F380046E2DC821690E12A422039B668729DB8B7FB8EAD219382AB6CFEF68376D1EF687C9EFA17946804B1465F9343150389405D2368EBBD701FC46124886F02BD2AF628A46A373C7A792DB111C95EBB66942C8E8AB5EC14D3A9EBE4919DEC4928DEF09517A1CCC8598357D02591BFB3A0CEF15EA5FE3C12AA2F655142888D1C4B4B1A3E49E0FCDB94C07D948568CEC367D11139D8CBE9ED24CCEAAE6D4998C9EE9FA8356F5C9E49DDF2F551A1C3F68EEDF794BDE6634B4602514DDB9CC2DE7DE3E12C490DD8ACE422F942C0873A11F37FC83BA1391E7C5DEB7D9F2BE87B56DFCF731D573F28535766BA0FA6F5D0925AB55C31E8077E5744E623581D7E8B3D98BED2B0E44CC40B4519485E320EF2687F596B284461A3BD60560134DE43D40CAAF91887D6C848F5CDF4F57116B139B68429D8CCF0EA0F05A9A3027160727913B1B500BB8EA438957757E93FFD152BF5DF4E64E55CE92EEDE7B36B4F199658EDE6E95037DFEDBDF11D3FF1DC7FDD6C4C577EC9E79E77C080A1D1C701325EBCEF22873D902B8E48F6F049B968CB3D74977C7026C6AC56181D2F841D694D86FCFD1AE8B98D39E68E32EECE3C19DCF0DEA7DA1}

4. /api/config/friends

4.1. GET Request

curl -i -X GET -H 'Accept: application/json' http://localhost:9551/api/config/friends

4.1. GET Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 23 Oct 2024 23:19:38 GMT
Transfer-Encoding: chunked
[{"alias_name":"IAM","public_key":"PubKey{02EC397B1B2351A59941115FBB93268D84B807119166A091DFEA3D9CFA4028B1ADD5A98A0E651351539C2139C2A79B2FB54C32E6C874C5DA76EB2368DFDB4C7805BD7F0B3DAD9A944E6172A713144FB91837A71120F78B3016B599FA899EA606B839A7C2B81CCE23068A6A48428699005DB6DC2B570B619DACC2A05783C0E27B2906904220607AB10313934CAF3BB40B78590F482133E917828A904B11E14355E50B404B848524389041BD0B87C02079158F9C4928BB68E4D18D96C68E248C090E3A71AB71C5F10BAB6B25445179999B32723574B25AE8117F9B681DE76004155B5286A05183196838383CEA09AFA2B81D4757C4C3A04EBA7299628BDDE312B0F982C8E917CB5418E7E83D1E05144800C41CA544CF516D5AC2B448573B691240B52409DFBA57B1554C1658423DB67CB2F122D8BA2610293020A75B62497BED3B5F919ACF8B73C6FFA21F4A6B6DF5215E3364A32BAA5DC29212B951BBD77C8ED184AE4339C0626B3B22AB391671148464B0C3717B6DB1CF241A25CE018DD2CA428F634F1A16B091C573D7958649082DF6E0CB02880C4376B470263D2A5842FA4AA823043A62B9C9407B2604A147B543524CB427D7787477168B89AA71A092356DA11C37301176AA907E100BEAF4AAFEC1CC78860DC6BB3ECD1A6170E6A560935B0E1B5CE8A889EB41349D3152135AAFE08B8AD5DBB95692CFCA3A801884758EAB4C54A4BC18500FE167886056C07BE9B69C86009AB11AEDCC1066430E03640D9AB444683C93D61C6B3A862CF2351FB69CC2E1C183DD530892FB6668B67828112F86556C4AD1605CA0A579C62101CA8908C260B4D76349949E7038A21B90383432727694BD4A958242CB1E199B48274CBDB2FCACA729903D4A1160E6B87F0B9AA2A3BCCBB39353135E54E659ADCA16A8822F2E4214A128502C25573EC56D0AC8AEF123A5A159AFB5140C9279A45725A0CAC026FADB6CA8909234E86DADB228C4307B48258B7C885428CC909B88AEF495B2440B3C682870E6D795C6D10BCE11134EA94C4A5419F6056915D0A77A0C78FC09685A6430B5F894EDC050F744047AF382DF6B14B5823C354767EF2C4DAFF1B0F888B97AB48661D527A50703E553847C0BA148ABAF24F371F64BCFB1945F435056D3299C4D240708E1AC16065C11D557D804709BA86DF930445210B3FDB82DBED6A26774CDC442184D049128374388778A71188D79A1491EB32270016E4A243D47576073F64547E665A4166D44EA48FEAABAFBC006FD61065B24822879B536878AA8E9206ED230B8A4B67056BA42983C047282DBCC963108A0E7BB2CA055319965A5CA7B3CBC0176A4245009FC16171426E01ABED46C4FC56C456D7947BA48B0F1A808976954749580D9456A47B2818B362AF5C13A8C65C10DC364AE430740F40C324C8F01F9464B498CB4054EA9404EAD057DD61C8495A99155647D5162760AF3156948AEBA56451D94CC7517CC8EC9CBE107438653333377C267C808E9CC37469A8CF9A4138E4A1B1A6A3C5508A9C2F09CBC196F9A110B43290F4716A9BECB0F3C896648D7C53516C67B198D78B31A6B65BF6E824D5BF75049D998F19C41326A7EBB69B2D27934B999B6A2C1694F76BBBC596410CBBA4409DDA35CA1A8B289FE3FBA643150405F043D29A69F7A809D5242D22013DD33C35A5C3DE74F231DA8482AF824FF003A14E6CAB4FA73E3FB1FA35B232A8C86C4032E182A9E87DB2E34BF5080698F38338457F858C0DD55058F21B74350D26A82BD128114A050157CBEB6EE9CB7CD23E24DE970FE6507D69EA3D49F21199FF2CBEC9598D6444C05730B07389229FCB4FB562207853DDD1F9D0C0E3B12A89294E0E40E69212D7CFAF69DDF5CBB1CC3A8728B473001C1F1D52CF0E1D9D1DBC1914A9F9A21CD99EE6FD1571A3685EDD92392C25BBF5313029C94FB06710CD200223CA8E410134C15FDDEBDFD87D5B1E36697E7A526CC1378DBFD8C1808C49DED8824C88BC381817378792C40E6469ECEF13E433472CD5EEC40FCBA98BB94D375FE5F8BBAED732E90B31EAE8E13B212974791DA521517E264EF497FB564827FC6A4BDAFA60BACE622D59FC9D46A05D3D9643EEEE608A277D15356298969F6CA2E3CB8DE33075032F623A1C3670940D97BB7A1547DBC2FFFF6346CCE9940AC870E05A8032D532AD85EA086E6584F99EACD0C19D03BDFFFC7A58590E1E01DB97B4BB4790B07095C3BD0033A93C79697B6956A6C2633B4DCE9CC6DF98C62E1485CC66A55D694A3785CB4470AA7BA27DD4D5297F6BB2F89870C68480E43A7B0822D75BE35D16C2874A2A2B536A6506672902BA034C1258E083446CAC8236213B8BD25816FB33529559DE6D8F90B1B43E22D7C2F1940FD7D8B9E4C33C22296DB4D15D78AB90DFB36E7C611B209197ED657810B93B65CD4F734D255EB8CE44D6A4BF0BD8BDD190ABF9BB192BAEE692327CB7FB5F9AFC9683F4D8560DDA7F00EF15081A9D220D7F4EDDEE23D5A532ACBA890D1E7F3DE1D09F9BEF0422D806A140F76D06C002D58B833653C19BA3A9AFB083CD34282028EB89A7EB5EDEAF87644C14FBA20C627815D20DEDCB581F2E25BB9D05FC9A22583A7F13E249F7E96F4CA6E4E77B45AE1BFEE8C351B66ABB471817C590144D84F6180AC7C0BD57146CA1C028E9AA4539E61D5E381CD9BC7F4E38DBAFAE79783839D8D2693B94721FA76728AA7772AEC74AC56376C1887B08E50CE3DED1A0C218F52A15274BBFF019EF4454B8904AFEF55E167E511EB837327062F843726AC713133358C4D978A59F8F01D059A731E66260FF1900E38684A239681FFCA91655093EDDA4C48CA19F7551D7685F110AF09FBA61446E29357596DB4E2E98E68BC6600D35360EA547C769D73BA9B172EE7043F07AFBB12244E562F195BCB1DE066A7A39A89AAC5E0517125553194FAFCEB2C62EC1371540CEB1881E75AF275FE514AC082D9ACAD75737E6DEC0A2628DC5E2613BFDE074075BC2859025F5138A234AA9140AFDED02569E89449E73394CA520587BA3961B8DC75E42BCA31C1DA22D72A371F78241E08A7F1FE3153B13B18A88AC461750B79E4A88E641DD2164923866FFE6BA7F0FD2D2E37B5AC6076C5646BF1D7C3DD692B8015400DA29413A9DF48817829E76A8D8362C0C7CDCAF163017D821353099B4D9F071E4604FB822EF3DF7D621B8322230A9D63CEAAAF43C33F5297AE1270A82BEE5DFF8E12A0061A8718763B058DFE2C33BB179233F4A1F5A57352FD09645D42559FF89DBC9EF4713B0B8CD8EA1ADAF74B2589BACF01343FA805C75DF4821BCFCD9D0E9F310C53BDCE340D6F8F243F68EFE693538E28FDF2F4E429AD060D28708526F47C2CDA28B1E5E612A50C3AD5D6BA5C0EF9D74C3EACB5F963F15BCFE2432869C9BDB4465E07B3FD878FEB1EB0CFC5C682E8379FB2FC234E06056878864E349318E40AB8DCFF7AA5185E4AEEED997DCC995E1675346C66E9E60E94BB7FC4BF2876498AE66B4C392AE35C2CFEC39980F2AE9F28601667E20AC1E485938ED734CEFA3CDD9789821BEB8D5ECA979D4B0D75520A89FF5C2C1353300C806917C16FE2FBD30249399445ED9D3125259EF77A106FBC25C4BC68659EE939FA87618227CD635EBB3A4DF446FCF953808A0DFA9FEC5600322D78922A1A28517E3F2A1BBC55E4768E89A5BA3DBA3EDCD5F75924B81977BC2F6EC1F5F24AB239D47E53995EB20DE18C30E0754DCE8D28EC84C3D77A444FE3A49CB0AA7F2E2C2CB79C74B54A5A019C11E73BB19FD307A8B9EE23A6848D6A3400F4958A9FD1376185DB281D23B27C5C57A5F380046E2DC821690E12A422039B668729DB8B7FB8EAD219382AB6CFEF68376D1EF687C9EFA17946804B1465F9343150389405D2368EBBD701FC46124886F02BD2AF628A46A373C7A792DB111C95EBB66942C8E8AB5EC14D3A9EBE4919DEC4928DEF09517A1CCC8598357D02591BFB3A0CEF15EA5FE3C12AA2F655142888D1C4B4B1A3E49E0FCDB94C07D948568CEC367D11139D8CBE9ED24CCEAAE6D4998C9EE9FA8356F5C9E49DDF2F551A1C3F68EEDF794BDE6634B4602514DDB9CC2DE7DE3E12C490DD8ACE422F942C0873A11F37FC83BA1391E7C5DEB7D9F2BE87B56DFCF731D573F28535766BA0FA6F5D0925AB55C31E8077E5744E623581D7E8B3D98BED2B0E44CC40B4519485E320EF2687F596B284461A3BD60560134DE43D40CAAF91887D6C848F5CDF4F57116B139B68429D8CCF0EA0F05A9A3027160727913B1B500BB8EA438957757E93FFD152BF5DF4E64E55CE92EEDE7B36B4F199658EDE6E95037DFEDBDF11D3FF1DC7FDD6C4C577EC9E79E77C080A1D1C701325EBCEF22873D902B8E48F6F049B968CB3D74977C7026C6AC56181D2F841D694D86FCFD1AE8B98D39E68E32EECE3C19DCF0DEA7DA1}"}]

4.2. POST Request

curl -i -X POST -H 'Accept: application/json' http://localhost:9551/api/config/friends --data '{"alias_name": "Eve", "public_key":"PubKey{FCC08C0E8AADDF6AA09DA81DC1FCB2556310F97B791092ADEE645150D91F7E66506A078F38B7BA78A37038D26B04E9B3A926C024875E17D50FA1D7A15C2A0B080789116B4DFCF279455197CECB40ED745384294EA2C583415A4FA11463A357C767158A50C66F770C2565D3819F6B298E77B1BBB45D91EA64E33ACECE81BC0B5B5261C78F17A2CE613471C06A1CE9D9C5B026A30D72197EE95759114B8F172C9CDA2C7F81A06545CBB0406725A8798C5AA1F7C94596B4AAB9E9280111A6DC8083E5B61F6857796B7357AECCB1518552232548CF93BE111C741EA6B64D5A4BD5EC11D46C8888457DD926C86F757159A19EC0874A74D02A1F39C6AEEC6DF2E8515A62838FA23FC5C204D584B78C9075477783DA1BA808F910A5671CE2334DF974705197ADB78C7B3740B51D849F4B38037D84B6BF620554FC3C7E6C37C856791A882AD0D194306BA44BE5ABB689108F5C46DC07B5F1945FDBE6B346B57FE9C901DC425DB822643ABCA737817D62F236127184CFA526183B3AB0B2B4D8CC95FEBA78E8EC401BBAA9E4E14F20C17D62A42A72A91154281B81DB8480B1033B1846BA41B0475550EBEC960E80512F158F078B50B30581DDE7CC5E0B44DAF8B52806088C403C2DD1ADB7FA28D9D83D1538C244B64DB3814B48B387CFB77C01A188C60614D323566F83C25657BA0247663CF1134BC28B39A3CF861B327846159AB15BDC043B4116269757823E060945D949051489E7A4A1FAF419D5CA245571CBB1569A91854F75F6AAFFE05282303B8A866780C0218740BACCA45A1C9544239A68BF224A067286DB35B1BFCB26021B65F466623F1022E799054939333F9CC07C0C216C209EF8571522AB7935401BD0791EE150088E8A3D83D2AB8490193C11233955AC3BB06E9D09703BC609596071AD77A6B79235E6004D6EC02B82460C96D62CC996863515A33B22B2E6300A1F121F7348B54E2574AF960B45A27D4BC193435A7625787E56CBC4CC1449DE756B2A39AD4D5500DD2163E75005CBDCB55CF2888EF9016460A842141BAA6AB99F96904EF5869DB44BE4090CF8DA4DE85706FDA2848EA1851CA7383AD1328CB4A9C89413936B910910CD33E36537171B0AF0A12F964642C86A4D7CC48315BBAFF2589F8BBE113CBA2FCAC6741C48D0E5A99F4AC65FB3C9E1B06D6DBC7FDA4778C74CACE4F94E819A5D369153AEA4322ABB444B8A053916739B45C35C2A057D3B48F0C96618DA6BBB168B448B378CEBB4C2A8357D8701D3A574122CAAFBA06039B6253E37891773127490C2FEDCADC22A7DBC51AA19B9C7EFF42AC17CAA81D6B3A87A8A36D88F7F61920C9A41207A1A6C739594365656D482A725396DB41F6B2B6FD4FAA7B62544D8803F4CA384E2EC43CD520C7C31C727989B5A5BCB2B1B60BC5C67BC9701AE6311562577517089AA1359798753550CB12F211E2D0A569847BBA76779FFCA3AE74C6719506962158D0C06C918D45AD13A7B2742676C745457822BA957245B1106ADDBB4AA88A69D00CA1397701F757B45876915667D14FA4124BB2A78114F6299C52C9A8ED9B70CF41201F674CE88090FFF86BB49EC1249D868B13BBD81A4C339B8959270041EA19843DBC8F029C85DC5B56DA0C4E833B39AB5B265FB2114EA00E6690C53B143AC16C4DE8856D090D670D606E2166CCE66830CFCE4527EAC98CA3592970C95429ED60A619A1A8E468D76DA6492E4D63747F7827F8EAACB6E300D1C9719F814303BB938CE6C70B27D58B760B64176B2AA12118F17F6BF67661E7FB4499040C7825441E30B58345CFC587C4F52F6690F50301D8508E854527A88CDF1D5684401F262345E8E34FF3502C4AD4C301EC903419757675C2D992AF6F8ADA1166BA854368B8F17622CC67EEB70EA7389E854896E0CFAA829CBB878AF74CA45CBA82A783D46D11A8FC49082E8FD88DA0260CB74E036AFE7C367E40E0F5A08F988BCCB50CA88280F68004BC6D4E60BC2911F22466167914D2F0783CA21904F8BAEB824BFB7A041AA9C483DE6B721762E4A50EB292FF490DD9E3298D389DB70B460745BECB2B32CF3814CE0E406DED43177CBCF4241432FB6CFE5F2F70EDED5D485887EA4B4DA8EDC4C725B44F6EF9D8048805048329FC08F60601F5A2D543F11BDE1BDEE1F77E3AB2F3B2576BE94A6C136D59125098A64BF377F3E2E9EE7B33B25AF3528329C581D1E8F40137FD1398ADC49FCAAFB0DCBF60E1D95DE1506B59B7F34FAE5581E6DB8118E1F3F37E774DB31142595C1151F32CC6CB2B7D50D309ED5CEA0B139115F4D62C8C73123CA28887558CB634D59CE69597E644CC99A8BF5527F077E56AC8A7B681B6CAC683E9E30CA0F67D0E6CE662CF1C852DF761E8E6E95191FE3A41C265E107933F2FA3672506EA4C527991D01C53341FDAA6D77BCD4EB4B5D3D7766ED7B4CDAA350FAC4EA58F27DD5D1A5A080691172BB6A3262A100695506EA6F739499A230AE240FCE5BB2998CE11BF4EAE53734293025A0C65BB4356A598A08DA99EBFE8257BF5F10253FD898D0E6B6B213895F93E8744B33C2840E7E37B4860248D9E9CADB0AF2548DECBA5C9E13FAE6A4BE75591E005E2333C5045748AB7EC0238160F31EAFBBD09E67718AAB1DFDB658EA38BF04035E4DD465BD9D2B5FB52F4245DCB5C5E43F7408B4078E0F47144260C279D135DA4D634394676DF003950DD27DB1992AFF255B59B9193A4AF485180A351DC0D0073B2EC2A68BE5DB4F72EE48A16E77946E4060583BC34DFCA73C1C0C29A45DC888A5B634DE2FBD6F48956867F329FC6EC2E09F52AF3F5A21E5692147B288F0EC65C94319B998F2710B9EB7F90427454BE691326DE531D29FDBE85B77D1A71B400FE35F92AF67EED007A45C5D9D939F557D02BDA00002D89F991B3DB5F2E2D4286868D44741347F71DA38824AD253D92A2042771225791A9061280892CA57165B1CC0BB304F7C1F33B3388AC3046B7DA62283FD9C03A18D1FFAD53DE5051D07469CD417A35C6FC8F094B021FEE48C810EE2B7E9CA8F84691E4FFF1AB517793F64BEFD60A975BD67FC3B59D2EE96BD1F2CE449F1F8BDC704AFC1853357667CC540E281EF456EAE8A616443B74375D56189521D01AFDD08153CB61DCE53782C545ECEAD52E1B91C0DD22299CB5DCB22ADE6B50428F9932CB2DB243051E55CCF2D2BD66C21E0C44780CBF891B0EBF3604FBF697CB67468200FAD9CC422266080592EDD6BC1D8A57F6F36D34D4EC4AD4F0A3BA7FD55B33CF2027CAC5DB360D152F9BD3E88AFEE1BFC640756AC37AD4A3631B3247CC5FF498C9DEC3E2047F3774F9710E54F4A522F2EA1B94910ACAC6F1242589F51F4DAF23265DFF4EE1572172D1C25F55E8314A2E5215421F71339956E6E066557514FC79C5646C15549DD4374766CB2736781C48356DA02CE783AB3BF847D7BB1EDDB8706DDDB9212BB9DFE4E920E599FF3EC9FC83E7F0340ACC0678CEF7DBB7A532FDA80EA870162D3081BFD583FD9A7A1B7B3D6308B46CB43235D12227BE307DE8AC55AC61B70C33C66739F7973A5C070F99140B08E8AD19E3181F9B89DD2982B7804B2484D7715071DD126D4F1AEB4A3501716E25BDA6467234D65943EFE1C74D9E38C0439D9125B0603D0151E49983156EAD417EC37D0DAEC4DA69185A586473D3AFFF9188307B0A17EB31638FE20A733437A0BEB759C2760C35772E82287E45622ADEDC33A098381765687969395270B5BD3220C197D6D73711B3E4D31FFCA3674B63C010945D0F66049034605A033CFAE6C1ED7254BC2AACF65DF6E85C3A8E5272763AD74826D7361B00B26176CDD7CF29F01FF1046A06456DE7F920238E13839485BFBEE25DAD910ED6BB47D5A3F927AA79B8786DB34BE88C383DCC8FF1ACEC115A48A4F6B6628BFDD68115CAE2D41316516858FF319AD4AB48F32000567480FFC2F5C493241A5BAD509C3BD4C2372F3CCC0449DFB5F78A4D813273C79393581D55FC5B947413DFC8A149453695E571636E5B584BF92C51CF082B3C652D2FA4382B590662C93332D06AAA8AE51DDE91412E5BFBDE4DD84575123C9ED8B0278956149758AED8E0FB5A8179E3EF7AF841FB7627C7C066B923B5C3009875AEB14C430EEE7410FB3177C4E694E0A2BFFC1665F0796582FCF5BEED5D997F5E5AA74550E89452A2693628D12E1240BBA5233A67C76B5BFAA9FC6FFC071749A0ED47CD49A55AAE3D581B3AFD6361D171330B6A53CB933FEE2EF3F1478ED38B57977CAA10C0CB5659D0A20E65C89685A153AC2F58F0D404ED8ADD36D594C4D719CF04CCCCB3E0A8D97A68E2E02DA598E372E01C916B765B1EA32510E917F4BC5E9BACA6E809CE848609CE6A8F97341F20C033218D8CF6CBB4261C479131CDFB76F4714867619419BEC1345BEB909B1AC658182C8875BE3D32FCCEC9A5CD8F53FB56A5885}"}'

4.2. POST Response

HTTP/1.1 200 OK
Content-Type: text/plain
Date: Mon, 07 Aug 2023 00:22:19 GMT
Content-Length: 23

success: update friends

4.3. DELETE Request

curl -i -X DELETE -H 'Accept: application/json' http://localhost:9551/api/config/friends --data '{"alias_name": "Eve"}'

4.3. DELETE Response

HTTP/1.1 200 OK
Content-Type: text/plain
Date: Mon, 07 Aug 2023 00:23:12 GMT
Content-Length: 22

success: delete friend

5. /api/config/settings

5.1. GET Request

curl -i -X GET -H 'Accept: application/json' http://localhost:9551/api/config/settings

5.1. GET Response

HTTP/1.1 200 OK
Content-Type: application/json
Date: Sat, 23 Dec 2023 16:55:10 GMT
Content-Length: 68
{"message_size_bytes":8192,"work_size_bits":22,"network_key":"j2BR39JfDf7Bajx3"}